Class NotFilter<T>

Type Parameters:
T - the value type.
All Implemented Interfaces:
Flow.Processor<T,T>, Flow.Publisher<T>, Flow.Subscriber<T>

public class NotFilter<T> extends Mapper<T,T>
Filters elements based on the negation opf a predicate.
Since:
1.4
Author:
Werner Donné
  • Constructor Details

    • NotFilter

      public NotFilter(Predicate<T> predicate)
      Create a filter with a predicate.
      Parameters:
      predicate - elements that don't match are published.
  • Method Details