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

public abstract Class AbstractQuantifierPredicate<T>

extends Object
implements PredicateDecorator<T>, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.apache.commons.collections4.functors.PredicateDecorator, org.apache.commons.collections4.Predicate
Known Direct Subclasses
org.apache.commons.collections4.functors.AllPredicate, org.apache.commons.collections4.functors.AnyPredicate, org.apache.commons.collections4.functors.NonePredicate, org.apache.commons.collections4.functors.OnePredicate
Imports
java.io.Serializable, org.apache.commons.collections4.Predicate

Abstract base class for quantification predicates, e.g. All, Any, None.
Since
4.0

Field Summary

Modifier and TypeField and Description
protected final Predicate<? super T>[]
iPredicates

The array of predicates to call

private static final long
serialVersionUID

Serial version UID

Constructor Summary

AccessConstructor and Description
public
AbstractQuantifierPredicate(final Predicate<? super T>...
the predicates to check, not cloned, not null
predicates
)

Constructor that performs no validation.

Method Summary

Modifier and TypeMethod and Description
public Predicate<? super T>[]

Returns:

a copy of the predicates
getPredicates
()

Implements org.apache.commons.collections4.functors.PredicateDecorator.getPredicates.

Gets the predicates.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

iPredicatesback to summary
protected final Predicate<? super T>[] iPredicates

The array of predicates to call

serialVersionUIDback to summary
private static final long serialVersionUID

Serial version UID

Constructor Detail

AbstractQuantifierPredicateback to summary
public AbstractQuantifierPredicate(final Predicate<? super T>... predicates)

Constructor that performs no validation.

Parameters
predicates:Predicate<? super T>[]

the predicates to check, not cloned, not null

Method Detail

getPredicatesback to summary
public Predicate<? super T>[] getPredicates()

Implements org.apache.commons.collections4.functors.PredicateDecorator.getPredicates.

Gets the predicates.

Returns:Predicate<? super T>[]

a copy of the predicates

Annotations
@Override
Since
3.1