@Override
  public boolean equals(Object obj) {
    if (obj == this) {
      return true;
    } else if (obj == null) {
      return false;
    } else if (super.equals(obj) && (obj instanceof ContainsPredicate) && (hashCode() == obj.hashCode())) {
      ContainsPredicate p = (ContainsPredicate) obj;
      return (value == null) ? (p.value == null) : value.equals(p.value);
    } else {
      return false;
    }
  }
Gets the test value

@return a string
ambari-server/src/main/java/org/apache/ambari/server/collections/functors/ContainsPredicate.java