Class AbstractQuantifierPredicate<T>
- java.lang.Object
-
- org.apache.commons.collections4.functors.AbstractQuantifierPredicate<T>
-
- All Implemented Interfaces:
java.io.Serializable
,PredicateDecorator<T>
,Predicate<T>
- Direct Known Subclasses:
AllPredicate
,AnyPredicate
,NonePredicate
,OnePredicate
public abstract class AbstractQuantifierPredicate<T> extends java.lang.Object implements PredicateDecorator<T>, java.io.Serializable
Abstract base class for quantification predicates, e.g. All, Any, None.- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractQuantifierPredicate(Predicate<? super T>... predicates)
Constructor that performs no validation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Predicate<? super T>[]
getPredicates()
Gets the predicates.
-
-
-
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
-
-