Class NotEqualPredicate<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 NotEqualPredicate<T>
    extends Object
    implements IgnitePredicate<T>
    Predicate that evaluates to true if its free variable is equal to target or both are null.
    See Also:
    Serialized Form
    • Constructor Detail

      • NotEqualPredicate

        public NotEqualPredicate​(T target)
        Parameters:
        target - Object to compare free variable to.
    • Method Detail

      • apply

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