public final class ExceptionPredicate extends Object implements Predicate, Serializable
Modifier and Type | Field and Description |
---|---|
static Predicate |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(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(Object object)
evaluate
in interface Predicate
object
- the input objectFunctorException
- alwaysCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.