|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections4.functors.ExceptionPredicate<T>
public final class ExceptionPredicate<T>
Predicate implementation that always throws an exception.
Field Summary | |
---|---|
static Predicate<Object> |
INSTANCE
Singleton predicate instance |
Method Summary | ||
---|---|---|
boolean |
evaluate(T object)
Evaluates the predicate always throwing an exception. |
|
static
|
exceptionPredicate()
Factory returning the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Predicate<Object> INSTANCE
Method Detail |
---|
public static <T> Predicate<T> exceptionPredicate()
T
- the object type
public boolean evaluate(T object)
evaluate
in interface Predicate<T>
object
- the input object
FunctorException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |