Class IsAllPredicate<T>

  • Type Parameters:
    T - Type of the free variable, i.e. the element the predicate is called on.
    All Implemented Interfaces:
    Serializable, IgnitePredicate<T>

    public class IsAllPredicate<T>
    extends Object
    implements IgnitePredicate<T>
    Predicate that evaluates to true if each of its component preds evaluates to true.
    See Also:
    Serialized Form
    • Constructor Detail

      • IsAllPredicate

        public IsAllPredicate​(IgnitePredicate<? super T>... preds)
        Parameters:
        preds - Passed in predicate. If none provided - always-false predicate is returned.
    • Method Detail

      • apply

        public boolean apply​(T t)
        Predicate body.
        Specified by:
        apply in interface IgnitePredicate<T>
        Parameters:
        t - Predicate parameter.
        Returns:
        Return value.