org.apache.commons.collections.functors
Class ExceptionPredicate
java.lang.Object
org.apache.commons.collections.functors.ExceptionPredicate
- Predicate, Serializable
public final class ExceptionPredicate
extends java.lang.Object
Predicate implementation that always throws an exception.
$Revision: 1.7 $ $Date: 2004/05/16 11:16:01 $
boolean | evaluate(Object object) - Evaluates the predicate always throwing an exception.
|
static Predicate | getInstance() - Factory returning the singleton instance.
|
INSTANCE
public static final Predicate INSTANCE
Singleton predicate instance
evaluate
public boolean evaluate(Object object)
Evaluates the predicate always throwing an exception.
- evaluate in interface Predicate
object
- the input object
getInstance
public static Predicate getInstance()
Factory returning the singleton instance.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.