Interface FilterModel.FilteredItems<T>

Type Parameters:
T - the item type
All Superinterfaces:
Observable<Collection<T>>, Observer<Collection<T>>
Enclosing interface:
FilterModel<T>

public static interface FilterModel.FilteredItems<T> extends Observable<Collection<T>>

The filtered items, the ones not passing the FilterModel.IncludePredicate.

Notifications are delivered once a mutation has completed and the selection has been restored, and once per mutation, see FilterModel.IncludedItems.

  • Method Details

    • get

      Returns an unmodifiable snapshot, stable and safe to iterate; it does not reflect subsequent changes to the model.
      Specified by:
      get in interface Observable<T>
      Returns:
      the filtered items or an empty collection in case of no filtered items
    • contains

      boolean contains(T item)
      Returns true if the given item is filtered.
      Parameters:
      item - the item
      Returns:
      true if the item is filtered
    • size

      int size()
      Returns:
      the number of filtered items