| Modifier and Type | Field and Description |
|---|---|
| private final T | iValue
The value to compare to |
| private static final long | serialVersionUID
Serial version UID |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if input is the same object as the stored valuethe input object object)Implements org. |
| public T | |
| public static < the type that the predicate queries T> Predicate | Returns: the predicatethe object to compare to object)Factory to create the identity predicate. |
| iValue | back to summary |
|---|---|
| private final T iValue The value to compare to | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version UID | |
| IdentityPredicate | back to summary |
|---|---|
| public IdentityPredicate(final T object) 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 is identical to the stored object.
| |
| getValue | back to summary |
|---|---|
| public T getValue() Gets the value.
| |
| identityPredicate | back to summary |
|---|---|
| public static <T> Predicate Factory to create the identity predicate.
| |