Top Description Fields Constructors Methods
org.apache.commons.collections4.functors

public final Class FalsePredicate<T>

extends Object
implements Predicate<T>, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.apache.commons.collections4.Predicate
Imports
java.io.Serializable, org.apache.commons.collections4.Predicate

Predicate implementation that always returns false.
Since
3.0

Field Summary

Modifier and TypeField and Description
public static final Predicate<T>
INSTANCE

Singleton predicate instance

private static final long
serialVersionUID

Serial version UID

Constructor Summary

AccessConstructor and Description
private
FalsePredicate()

Restricted constructor.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

false always
evaluate
(final T
the input object
object
)

Implements org.apache.commons.collections4.Predicate.evaluate.

Evaluates the predicate returning false always.
public static <
the type that the predicate queries
T
>
Predicate<T>

Returns:

the singleton instance
falsePredicate
()

Get a typed instance.

private Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final Predicate<T> INSTANCE

Singleton predicate instance

Annotations
@SuppressWarnings:rawtypes
serialVersionUIDback to summary
private static final long serialVersionUID

Serial version UID

Constructor Detail

FalsePredicateback to summary
private FalsePredicate()

Restricted constructor.

Method Detail

evaluateback to summary
public boolean evaluate(final T object)

Implements org.apache.commons.collections4.Predicate.evaluate.

Evaluates the predicate returning false always.

Parameters
object:T

the input object

Returns:boolean

false always

Annotations
@Override
falsePredicateback to summary
public static <T> Predicate<T> falsePredicate()

Get a typed instance.

Parameters
<T>
the type that the predicate queries
Returns:Predicate<T>

the singleton instance

Since
4.0
readResolveback to summary
private Object readResolve()