| Modifier and Type | Field and Description |
|---|---|
| private final Class | iType
The type to compare to |
| private static final long | serialVersionUID
Serial version UID |
| Access | Constructor and Description |
|---|---|
| public | InstanceofPredicate(final Class<?>
the type to check for type)Constructor that performs no validation. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if input is of stored typethe input object object)Implements org. |
| public Class | |
| public static Predicate | Returns: the predicatethe type to check for, may not be null type)Factory to create the identity predicate. |
| iType | back to summary |
|---|---|
| private final Class<?> iType The type to compare to | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version UID | |
| InstanceofPredicate | back to summary |
|---|---|
| public InstanceofPredicate(final Class<?> type) Constructor that performs no validation.
Use
| |
| evaluate | back to summary |
|---|---|
| public boolean evaluate(final Object object) Implements org. Evaluates the predicate returning true if the input object is of the correct type. | |
| getType | back to summary |
|---|---|
| public Class Gets the type to compare to.
| |
| instanceOfPredicate | back to summary |
|---|---|
| public static Predicate Factory to create the identity predicate.
| |