java.io.Serializable, Predicatepublic final class ExceptionPredicate extends java.lang.Object implements Predicate, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
static Predicate |
INSTANCE |
Singleton predicate instance
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
evaluate(java.lang.Object object) |
Evaluates the predicate always throwing an exception.
|
static Predicate |
getInstance() |
Factory returning the singleton instance.
|
public static final Predicate INSTANCE
public static Predicate getInstance()
public boolean evaluate(java.lang.Object object)
evaluate in interface Predicateobject - the input objectFunctorException - alwaysCopyright © 2001-2018 Apache Software Foundation. All Rights Reserved.