Note
In versions prior to 3.2 an array size of zero or one threw an exception.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Hides org. |
| Access | Constructor and Description |
|---|---|
| public | NonePredicate(final Predicate<? super T>...
the predicates to check, not cloned, not null predicates)Constructor that performs no validation. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if none of decorated predicates return truethe input object object)Implements org. |
| public static < the type that the predicate queries T> Predicate | Returns: theany predicatethe predicates to check, cloned, not null predicates)Factory to create the predicate. |
| public static < the type that the predicate queries T> Predicate | Returns: theone predicatethe predicates to check, cloned, not null predicates)Factory to create the predicate. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Serial version UID | |
| NonePredicate | back to summary |
|---|---|
| public NonePredicate(final Predicate<? super T>... predicates) Constructor that performs no validation.
Use
| |
| evaluate | back to summary |
|---|---|
| public boolean evaluate(final T object) Implements org. Evaluates the predicate returning false if any stored predicate returns false.
| |
| nonePredicate | back to summary |
|---|---|
| public static <T> Predicate Factory to create the predicate. If the array is size zero, the predicate always returns true.
| |
| nonePredicate | back to summary |
|---|---|
| public static <T> Predicate Factory to create the predicate. If the collection is size zero, the predicate always returns true.
| |