Interface FilterModel.IncludePredicate<T>

All Superinterfaces:
Observable<Predicate<T>>, Observer<Predicate<T>>, Predicate<T>, Value<Predicate<T>>
Enclosing interface:
FilterModel<T>

public static interface FilterModel.IncludePredicate<T> extends Value<Predicate<T>>, Predicate<T>
Controls which items should be included. Tests the predicate set as its value, but subclasses may provide additional tests.
  • Method Details

    • test

      default boolean test(T item)
      Specified by:
      test in interface Predicate<T>
      Parameters:
      item - the item to test
      Returns:
      true if the given item should be included