public final class UniquePredicate extends Object implements Predicate, Serializable
| Constructor and Description |
|---|
UniquePredicate()
Constructor that performs no validation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Object object)
Evaluates the predicate returning true if the input object hasn't been
received yet.
|
static Predicate |
getInstance()
Factory to create the predicate.
|
public UniquePredicate()
getInstance if you want that.public static Predicate getInstance()
IllegalArgumentException - if the predicate is nullCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.