Class AbstractQuantifierPredicate<T>
- java.lang.Object
-
- org.apache.commons.collections4.functors.AbstractQuantifierPredicate<T>
-
- All Implemented Interfaces:
Serializable
,PredicateDecorator<T>
,Predicate<T>
- Direct Known Subclasses:
AllPredicate
,AnyPredicate
,NonePredicate
,OnePredicate
public abstract class AbstractQuantifierPredicate<T> extends Object implements PredicateDecorator<T>, Serializable
Abstract base class for quantification predicates, e.g. All, Any, None.- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Predicate<? super T>[]
iPredicates
The array of predicates to call
-
Constructor Summary
Constructors Constructor Description AbstractQuantifierPredicate(Predicate<? super T>... predicates)
Constructor that performs no validation.
-
-
-
Method Detail
-
getPredicates
public Predicate<? super T>[] getPredicates()
Gets the predicates.- Specified by:
getPredicates
in interfacePredicateDecorator<T>
- Returns:
- a copy of the predicates
- Since:
- 3.1
-
-