Class AbstractQuantifierPredicate<T>
java.lang.Object
org.apache.commons.collections4.functors.AbstractPredicate<T>
org.apache.commons.collections4.functors.AbstractQuantifierPredicate<T>
- Type Parameters:
- T- the type of the input to the predicate.
- All Implemented Interfaces:
- Serializable,- Predicate<T>,- PredicateDecorator<T>,- Predicate<T>
- Direct Known Subclasses:
- AllPredicate,- AnyPredicate,- NonePredicate,- OnePredicate
public abstract class AbstractQuantifierPredicate<T>
extends AbstractPredicate<T>
implements PredicateDecorator<T>, Serializable
Abstract base class for quantification predicates, for example All, Any, None.
- Since:
- 4.0
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe array of predicates to call
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractQuantifierPredicate(Predicate<? super T>... predicates) Constructor that performs no validation.
- 
Method SummaryMethods inherited from class org.apache.commons.collections4.functors.AbstractPredicateevaluate
- 
Field Details- 
iPredicatesThe array of predicates to call
 
- 
- 
Constructor Details- 
AbstractQuantifierPredicateConstructor that performs no validation.- Parameters:
- predicates- the predicates to check, not cloned, not null
 
 
- 
- 
Method Details- 
getPredicatesGets the predicates.- Specified by:
- getPredicatesin interface- PredicateDecorator<T>
- Returns:
- a copy of the predicates
- Since:
- 3.1
 
 
-