Module org.jhotdraw8.fxcollection
Package org.jhotdraw8.fxcollection
Class ModifiableObservableSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
org.jhotdraw8.fxcollection.AbstractObservableSet<E>
org.jhotdraw8.fxcollection.ModifiableObservableSet<E>
- Type Parameters:
E- the element type
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Set<E>,javafx.beans.Observable,javafx.collections.ObservableSet<E>,ReadOnlyCollection<E>,ReadOnlySet<E>
This ObservableSet implementation provides overridable fire methods, saving one
level of indirection.
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbackingSetAdd(E e) protected voidprotected booleanprotected booleanprotected booleanprotected booleanprotected intvoidsetBackingSet(Set<E> backingSet) Methods inherited from class org.jhotdraw8.fxcollection.AbstractObservableSet
add, addAll, addListener, addListener, clear, contains, containsAll, fireAdded, fireRemoved, fireUpdated, invalidated, isEmpty, iterator, remove, removeAll, removeListener, removeListener, retainAll, size, streamMethods inherited from class java.util.AbstractSet
equals, hashCodeMethods inherited from class java.util.AbstractCollection
toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, toArrayMethods inherited from interface javafx.beans.Observable
subscribeMethods inherited from interface org.jhotdraw8.icollection.readonly.ReadOnlyCollection
asCollection, containsAll, toArray, toArrayMethods inherited from interface org.jhotdraw8.icollection.readonly.ReadOnlySet
asSet, characteristics, equals, hashCode
-
Constructor Details
-
ModifiableObservableSet
-
ModifiableObservableSet
public ModifiableObservableSet()
-
-
Method Details
-
setBackingSet
-
backingSetAdd
- Specified by:
backingSetAddin classAbstractObservableSet<E>
-
backingSetClear
protected void backingSetClear()- Specified by:
backingSetClearin classAbstractObservableSet<E>
-
backingSetToArray
- Specified by:
backingSetToArrayin classAbstractObservableSet<E>
-
backingSetContains
- Specified by:
backingSetContainsin classAbstractObservableSet<E>
-
backingSetContainsAll
- Specified by:
backingSetContainsAllin classAbstractObservableSet<E>
-
backingSetIsEmpty
protected boolean backingSetIsEmpty()- Specified by:
backingSetIsEmptyin classAbstractObservableSet<E>
-
backingSetIterator
- Specified by:
backingSetIteratorin classAbstractObservableSet<E>
-
backingSetRemove
- Specified by:
backingSetRemovein classAbstractObservableSet<E>
-
backingSetSize
protected int backingSetSize()- Specified by:
backingSetSizein classAbstractObservableSet<E>
-