@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof ArrayPredicate)) return false;

    ArrayPredicate that = (ArrayPredicate) o;

    if (propertyIds != null ? !propertyIds.equals(that.propertyIds) : that.propertyIds != null) return false;

    // don't care about array order
    Set<Predicate> setThisPredicates = new HashSet<>(Arrays.asList(predicates));
    Set<Predicate> setThatPredicates = new HashSet<>(Arrays.asList(that.predicates));
    return setThisPredicates.equals(setThatPredicates);
  }
Get the predicates.

@return the predicates
ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/ArrayPredicate.java