| Modifier and Type | Field and Description |
|---|---|
| private final Predicate | iPredicate
The predicate to decorate |
| private static final long | serialVersionUID
Serial version UID |
| Access | Constructor and Description |
|---|---|
| public | NullIsExceptionPredicate(final Predicate<? super T>
the predicate to call after the null check predicate)Constructor that performs no validation. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if decorated predicate returns truethe input object object)Implements org. |
| public Predicate | Returns: the predicate as the only element in an arrayImplements org. |
| public static < the type that the predicate queries T> Predicate | Returns: the predicatethe predicate to decorate, not null predicate)Factory to create the null exception predicate. |
| iPredicate | back to summary |
|---|---|
| private final Predicate<? super T> iPredicate The predicate to decorate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version UID | |
| NullIsExceptionPredicate | back to summary |
|---|---|
| public NullIsExceptionPredicate(final Predicate<? super T> predicate) Constructor that performs no validation.
Use
| |
| evaluate | back to summary |
|---|---|
| public boolean evaluate(final T object) Implements org. Evaluates the predicate returning the result of the decorated predicate once a null check is performed.
| |
| getPredicates | back to summary |
|---|---|
| public Predicate Implements org. Gets the predicate being decorated.
| |
| nullIsExceptionPredicate | back to summary |
|---|---|
| public static <T> Predicate Factory to create the null exception predicate.
| |