/** * Creates a procedure that returns true if the given ExchangeAttributes are equal. * @param attributes to be compared in the predictor. * @return A new EqualsPredicate. */ public static Predicate equals(final ExchangeAttribute[] attributes){ return new EqualsPredicate(attributes); }
@Override public Predicate build(final Map<String, Object> config) { ExchangeAttribute[] value = (ExchangeAttribute[]) config.get("value"); return new EqualsPredicate(value); } }
/** * Creates a procedure that returns true if the given ExchangeAttributes are equal. * @param attributes to be compared in the predictor. * @return A new EqualsPredicate. */ public static Predicate equals(final ExchangeAttribute[] attributes){ return new EqualsPredicate(attributes); }
/** * Creates a procedure that returns true if the given ExchangeAttributes are equal. * @param attributes to be compared in the predictor. * @return A new EqualsPredicate. */ public static Predicate equals(final ExchangeAttribute[] attributes){ return new EqualsPredicate(attributes); }
@Override public Predicate build(final Map<String, Object> config) { ExchangeAttribute[] value = (ExchangeAttribute[]) config.get("value"); return new EqualsPredicate(value); } }
@Override public Predicate build(final Map<String, Object> config) { ExchangeAttribute[] value = (ExchangeAttribute[]) config.get("value"); return new EqualsPredicate(value); } }