Interface ObservableSet<T>
- All Superinterfaces:
Collection<T>,DeltaCollection<T>,Iterable<T>,ObservableCollection<T>,Set<T>
- All Known Implementing Classes:
ObservableMapImpl.ObservableKeySet,ObservableSetDifference,ObservableSetImpl,ObservableSetUnion
-
Method Summary
Modifier and TypeMethodDescriptiondefault ObservableValue<Boolean>fieldForPresence(T item) Return a field view for whether the given item is present.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface org.aksw.commons.collection.observable.DeltaCollection
delta, replaceMethods inherited from interface org.aksw.commons.collection.observable.ObservableCollection
addPropertyChangeListener, addVetoableChangeListener, convert, filter, map, mapToValue, mapToValue
-
Method Details
-
fieldForPresence
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.
-