Interface ObservableSet<T>

All Superinterfaces:
Collection<T>, DeltaCollection<T>, Iterable<T>, ObservableCollection<T>, Set<T>
All Known Implementing Classes:
ObservableMapImpl.ObservableKeySet, ObservableSetDifference, ObservableSetImpl, ObservableSetUnion

public interface ObservableSet<T> extends ObservableCollection<T>, Set<T>
  • Method Details

    • fieldForPresence

      default ObservableValue<Boolean> fieldForPresence(T item)
      Return a field view for whether the given item is present. Changing the value to true adds the given item to the set; on false the item is removed.