Package model.collections
Class ObservableHashSet<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<T>
model.collections.ObservableHashSet<T>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<T>
,Collection<T>
,Set<T>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(@NonNull Collection<? extends T> c) final void
registerListener
(ObservableListener<T>... listeners) boolean
boolean
removeAll
(Collection<?> c) boolean
Methods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, iterator, size, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, retainAll
-
Constructor Details
-
ObservableHashSet
-
ObservableHashSet
public ObservableHashSet()
-
-
Method Details
-
registerListener
-
add
-
addAll
- Specified by:
addAll
in interfaceCollection<T>
- Specified by:
addAll
in interfaceSet<T>
- Overrides:
addAll
in classAbstractCollection<T>
-
remove
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T>
- Specified by:
removeAll
in interfaceSet<T>
- Overrides:
removeAll
in classAbstractSet<T>
-
removeIf
-