Class NotContainsPredicate<T>

  • Type Parameters:
    T - Type of the free variable for the predicate and type of the collection elements.
    All Implemented Interfaces:
    Serializable, IgnitePredicate<T>

    public class NotContainsPredicate<T>
    extends Object
    implements IgnitePredicate<T>
    Predicate that returns true if its free variable is not contained in given collection.
    See Also:
    Serialized Form
    • Constructor Detail

      • NotContainsPredicate

        public NotContainsPredicate​(Collection<? extends T> col)
        Parameters:
        col - Collection to check for containment.
    • Method Detail

      • apply

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