Package io.jmix.flowui.model.impl
Class ObservableSet<T>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<E>
com.google.common.collect.ForwardingSet<T>
io.jmix.flowui.model.impl.ObservableSet<T>
- All Implemented Interfaces:
Serializable
,Iterable<T>
,Collection<T>
,Set<T>
public class ObservableSet<T>
extends com.google.common.collect.ForwardingSet<T>
implements Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionObservableSet
(Set<T> delegate, BiConsumer<CollectionChangeType, Collection<? extends T>> onCollectionChanged) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends T> collection) void
clear()
delegate()
protected void
fireCollectionChanged
(CollectionChangeType type, Collection<? extends T> changes) protected void
iterator()
boolean
boolean
removeAll
(Collection<?> collection) boolean
retainAll
(Collection<?> collection) Methods inherited from class com.google.common.collect.ForwardingSet
equals, hashCode, standardEquals, standardHashCode, standardRemoveAll
Methods inherited from class com.google.common.collect.ForwardingCollection
contains, containsAll, isEmpty, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
Methods inherited from class com.google.common.collect.ForwardingObject
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
contains, containsAll, isEmpty, size, spliterator, toArray, toArray
-
Constructor Details
-
ObservableSet
public ObservableSet(Set<T> delegate, BiConsumer<CollectionChangeType, Collection<? extends T>> onCollectionChanged)
-
-
Method Details
-
fireCollectionChanged
-
fireCollectionRefreshed
protected void fireCollectionRefreshed() -
delegate
- Specified by:
delegate
in classcom.google.common.collect.ForwardingSet<T>
-
add
-
removeAll
-
remove
-
addAll
-
retainAll
-
clear
public void clear() -
iterator
-