@Override
  public int hashCode() {
    return super.hashCode() + ((delegate == null) ? 0 : delegate.hashCode());
  }
Constructor.

@param name     the name of this predicate
@param delegate the delegate used to handle the internal logic for the container
ambari-server/src/main/java/org/apache/ambari/server/collections/functors/DelegatedSinglePredicateContainer.java