|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.collections15.functors.predicate.ExceptionPredicate<E>
public final class ExceptionPredicate<E>
Predicate
implementation whose evaluate(E)
method always
throws an exception.
Constructor Summary | |
---|---|
protected |
ExceptionPredicate()
Creates a new instance. |
Method Summary | ||
---|---|---|
boolean |
evaluate(E object)
Evaluates the Predicate , always throwing an exception. |
|
static
|
getInstance()
Returns an instance of ExceptionPredicate . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ExceptionPredicate()
Method Detail |
---|
public static <T> ExceptionPredicate<T> getInstance()
ExceptionPredicate
.
ExceptionPredicate
.public boolean evaluate(E object)
Predicate
, always throwing an exception.
evaluate
in interface Predicate<E>
object
- The input object.
FunctorException
- Always thrown by this Predicate
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |