Class NotFilter<T>

  • Type Parameters:
    T - element type
    All Implemented Interfaces:
    Filter<T>

    public class NotFilter<T>
    extends Object
    implements Filter<T>
    Logical NOT of filter
    • Constructor Detail

      • NotFilter

        public NotFilter​(Filter<T> filter)
    • Method Detail

      • test

        public boolean test​(T t)
        Description copied from interface: Filter
        Predicate test
        Specified by:
        test in interface Filter<T>
        Parameters:
        t - the element test against
        Returns:
        true if matches
      • getFilter

        public Filter getFilter()
        Get all the sub filter of this operation.
        Returns:
        filter