| Modifier and Type | Field and Description |
|---|---|
| private final Set | iSet
The set of previously seen objects |
| private static final long | serialVersionUID
Serial version UID |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if this is the first time the object is seenthe input object object)Implements org. |
| public static < the type that the predicate queries T> Predicate |
| iSet | back to summary |
|---|---|
| private final Set<T> iSet The set of previously seen objects | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version UID | |
| UniquePredicate | back to summary |
|---|---|
| public UniquePredicate() Constructor that performs no validation.
Use | |
| evaluate | back to summary |
|---|---|
| public boolean evaluate(final T object) Implements org. Evaluates the predicate returning true if the input object hasn't been received yet.
| |
| uniquePredicate | back to summary |
|---|---|
| public static <T> Predicate Factory to create the predicate.
| |