public final class EqualPredicate extends Object implements Predicate, Serializable
Constructor and Description |
---|
EqualPredicate(Object object)
Constructor that performs no validation.
|
public EqualPredicate(Object object)
getInstance
if you want that.object
- the object to compare topublic static Predicate getInstance(Object object)
object
- the object to compare toIllegalArgumentException
- if the predicate is nullpublic boolean evaluate(Object object)
public Object getValue()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.