org.apache.commons.collections.functors
Class ExceptionPredicate
- Predicate, Serializable
public final class ExceptionPredicate
Predicate implementation that always throws an exception.
$Revision: 348444 $ $Date: 2005-11-23 14:06:56 +0000 (Wed, 23 Nov 2005) $
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-2009 Apache Software Foundation. All Rights Reserved.