⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections.functors

Class ExceptionPredicate

java.lang.Object
|
+--org.apache.commons.collections.functors.ExceptionPredicate

All Implemented Interfaces:
Predicate, Serializable


public final class ExceptionPredicate
extends java.lang.Object
implements Predicate, Serializable

Predicate implementation that always throws an exception.
Since:
Commons Collections 3.0
Author:
Stephen Colebourne

Field Summary

static Predicate

INSTANCE

Singleton predicate instance

Method Summary

boolean

evaluate(Object object)

Always throw an exception

Field Details

INSTANCE

public static final Predicate INSTANCE

Singleton predicate instance

Method Details

evaluate

public boolean evaluate(Object object)

Always throw an exception

Parameters:
object