# Uses of Interface
org.eclipse.gef.common.collections.ObservableMultiset

Packages that use ObservableMultiset
Package
Description
org.eclipse.gef.common.beans.binding
This package augments the JavaFX binding API by adding support related to `SetMultimap` and `Multiset`.
org.eclipse.gef.common.beans.property
This package augments the property API of JavaFX by adding support related to `SetMultimap` and `Multiset`.
org.eclipse.gef.common.beans.value
This package augments the value API of JavaFX by contributing support for `SetMultimap` and `Multiset`.
org.eclipse.gef.common.collections
This package augments the JavaFX collections API with support for `SetMultimap` and `Multiset`.

## Uses of ObservableMultiset in org.eclipse.gef.common.beans.binding

Classes in org.eclipse.gef.common.beans.binding that implement ObservableMultiset
Modifier and Type
Class
Description
`class`
`MultisetBinding<E>`
An abstract base class that provides functionality needed to realize a `Binding` on an `ObservableMultiset`.
`class`
`MultisetExpression<E>`
A `SetMultimapExpression` is a `ObservableMultisetValue` plus additional convenience methods to generate bindings.
Methods in org.eclipse.gef.common.beans.binding that return ObservableMultiset
Modifier and Type
Method
Description
`protected abstract ObservableMultiset<E>`
MultisetBinding.`computeValue()`
Computes the current value of this `MultisetBinding`.
`ObservableMultiset<E>`
MultisetBinding.`get()`
`ObservableMultiset<E>`
MultisetExpression.`getValue()`
Methods in org.eclipse.gef.common.beans.binding with parameters of type ObservableMultiset
Modifier and Type
Method
Description
`static <E> void`
BindingUtils.`bindContent(Multiset<E> source, ObservableMultiset<? extends E> target)`
Creates a unidirectional content binding from the given source `Multiset` to the given target `ObservableMultiset`.
`static <E> void`
BindingUtils.`bindContentBidirectional(ObservableMultiset<E> source, ObservableMultiset<E> target)`
Creates a bidirectional content binding between the given `ObservableMultisets`.
`BooleanBinding`
MultisetExpression.`isEqualTo(ObservableMultiset<?> other)`
Creates a new `BooleanBinding` that indicates whether this `ObservableMultiset` is equal to the passed in `ObservableMultiset`.
`BooleanBinding`
MultisetExpression.`isNotEqualTo(ObservableMultiset<?> other)`
Creates a new `BooleanBinding` that indicates whether this `ObservableMultiset` is not equal to the passed in `ObservableMultiset`.
`static <E> void`
BindingUtils.`unbindContent(Multiset<E> source, ObservableMultiset<? extends E> target)`
Removes an existing content binding from the given source `Multiset` to the given target `ObservableMultiset`.
`static <E> void`
BindingUtils.`unbindContentBidirectional(ObservableMultiset<E> multiset1, ObservableMultiset<E> multiset2)`
Removes a bidirectional content binding between the given `ObservableMultisets`. .
Method parameters in org.eclipse.gef.common.beans.binding with type arguments of type ObservableMultiset
Modifier and Type
Method
Description
`void`
MultisetBinding.`addListener(ChangeListener<? super ObservableMultiset<E>> listener)`
`void`
MultisetExpressionHelper.`addListener(ChangeListener<? super ObservableMultiset<E>> listener)`
Adds a new `ChangeListener` to this `MultisetExpressionHelper`.
`void`
MultisetBinding.`removeListener(ChangeListener<? super ObservableMultiset<E>> listener)`
`void`
MultisetExpressionHelper.`removeListener(ChangeListener<? super ObservableMultiset<E>> listener)`
Removes the given `ChangeListener` from this `MultisetChangeListener`.

## Uses of ObservableMultiset in org.eclipse.gef.common.beans.property

Classes in org.eclipse.gef.common.beans.property that implement ObservableMultiset
Modifier and Type
Class
Description
`class`
`MultisetProperty<E>`
Abstract base class defining contract for a `Property` wrapping a `ObservableMultiset`.
`class`
`MultisetPropertyBase<E>`
Abstract base class for implementing a `Property` wrapping an `ObservableMultiset`.
`class`
`ReadOnlyMultisetProperty<E>`
Abstract base class defining contract for a read-only `Property` wrapping an `ObservableMultiset`.
`class`
`ReadOnlyMultisetPropertyBase<E>`
Abstract base class for implementing a read-only `Property` wrapping an `ObservableMultiset`.
`class`
`ReadOnlyMultisetWrapper<E>`
A `ReadOnlyMultisetWrapper` is a writable `Property` wrapping an `ObservableMultiset`, which provides an additional read-only `Property` (based on a concrete, non-exposed implementation of `ReadOnlyMultisetProperty`), whose value is synchronized with the value of this `ReadOnlyMapWrapper`.
`class`
`SimpleMultisetProperty<E>`
A concrete implementation of a `Property` wrapping an `ObservableMultiset`.
Methods in org.eclipse.gef.common.beans.property that return ObservableMultiset
Modifier and Type
Method
Description
`ObservableMultiset<E>`
MultisetPropertyBase.`get()`
Methods in org.eclipse.gef.common.beans.property with parameters of type ObservableMultiset
Modifier and Type
Method
Description
`void`
ReadOnlyMultisetProperty.`bindContent(ObservableMultiset<E> target)`
Creates a unidirectional content binding between the `ObservableMultiset`, that is wrapped in this `ReadOnlyMultisetProperty`, and the given `ObservableMultiset`.
`void`
ReadOnlyMultisetProperty.`bindContentBidirectional(ObservableMultiset<E> other)`
Creates a bidirectional content binding of the `ObservableMultiset` , that is wrapped in this `ReadOnlyMultisetProperty`, and the given `ObservableMultiset` .
`void`
MultisetPropertyBase.`set(ObservableMultiset<E> newValue)`
`void`
MultisetProperty.`setValue(ObservableMultiset<E> v)`
Method parameters in org.eclipse.gef.common.beans.property with type arguments of type ObservableMultiset
Modifier and Type
Method
Description
`void`
MultisetPropertyBase.`addListener(ChangeListener<? super ObservableMultiset<E>> listener)`
`void`
ReadOnlyMultisetPropertyBase.`addListener(ChangeListener<? super ObservableMultiset<E>> listener)`
`void`
MultisetPropertyBase.`bind(ObservableValue<? extends ObservableMultiset<E>> observedValue)`
`void`
MultisetProperty.`bindBidirectional(Property<ObservableMultiset<E>> other)`
`void`
MultisetPropertyBase.`removeListener(ChangeListener<? super ObservableMultiset<E>> listener)`
`void`
ReadOnlyMultisetPropertyBase.`removeListener(ChangeListener<? super ObservableMultiset<E>> listener)`
`void`
MultisetProperty.`unbindBidirectional(Property<ObservableMultiset<E>> other)`
Constructors in org.eclipse.gef.common.beans.property with parameters of type ObservableMultiset
Modifier
Constructor
Description
``
`MultisetPropertyBase(ObservableMultiset<E> initialValue)`
Creates a new `MultisetPropertyBase` with the given `ObservableMultiset` as initial value.
``
`ReadOnlyMultisetWrapper(Object bean, String name, ObservableMultiset<E> initialValue)`
Constructs a new `ReadOnlyMultisetWrapper` for the given bean and with the given name and initial value.
``
`ReadOnlyMultisetWrapper(ObservableMultiset<E> initialValue)`
Constructs a new unnamed `ReadOnlyMultisetWrapper` with the given initial value.
``
`SimpleMultisetProperty(Object bean, String name, ObservableMultiset<E> initialValue)`
Constructs a new `SimpleMultisetProperty` for the given bean and with the given name and initial value.
``
`SimpleMultisetProperty(ObservableMultiset<E> initialValue)`
Constructs a new unnamed `SimpleMultisetProperty` that is not related to a bean, with the given initial value.

## Uses of ObservableMultiset in org.eclipse.gef.common.beans.value

Subinterfaces of ObservableMultiset in org.eclipse.gef.common.beans.value
Modifier and Type
Interface
Description
`interface`
`ObservableMultisetValue<E>`
An observable reference to an `ObservableMultiset`.
`interface`
`WritableMultisetValue<E>`
A writable reference to an `ObservableMultiset`.

## Uses of ObservableMultiset in org.eclipse.gef.common.collections

Methods in org.eclipse.gef.common.collections that return ObservableMultiset
Modifier and Type
Method
Description
`static <E> ObservableMultiset<E>`
CollectionUtils.`emptyMultiset()`
Returns an empty, unmodifiable `ObservableMultiset`.
`ObservableMultiset<E>`
MultisetChangeListener.Change.`getMultiset()`
The source `ObservableMultiset` this atomic change is associated with.
`protected ObservableMultiset<E>`
MultisetListenerHelper.`getSource()`
Returns the source `ObservableMultiset` this `MultisetListenerHelper` is bound to, which is used in change notifications.
`static <E> ObservableMultiset<E>`
CollectionUtils.`observableHashMultiset()`
Returns a (modifiable) new `ObservableMultiset` wrapping a `HashMultiset`.
`static <E> ObservableMultiset<E>`
CollectionUtils.`observableMultiset(Multiset<E> multiset)`
Returns a (modifiable) new `ObservableMultiset` wrapping the given `List`.
`static <E> ObservableMultiset<E>`
CollectionUtils.`unmodifiableObservableMultiset(ObservableMultiset<E> multiset)`
Returns an unmodifiable `ObservableMultiset` wrapping the given `ObservableMultiset`.
Methods in org.eclipse.gef.common.collections with parameters of type ObservableMultiset
Modifier and Type
Method
Description
`static <E> ObservableMultiset<E>`
CollectionUtils.`unmodifiableObservableMultiset(ObservableMultiset<E> multiset)`
Returns an unmodifiable `ObservableMultiset` wrapping the given `ObservableMultiset`.
Constructors in org.eclipse.gef.common.collections with parameters of type ObservableMultiset
Modifier
Constructor
Description
``
`AtomicChange(ObservableMultiset<E> source, Multiset<E> previousContents, List<MultisetListenerHelper.ElementarySubChange<E>> elementarySubChanges)`
Creates a new `MultisetListenerHelper.AtomicChange` that represents a change comprising multiple elementary sub-changesO.
``
`AtomicChange(ObservableMultiset<E> source, Multiset<E> previousContents, MultisetListenerHelper.ElementarySubChange<E> elementarySubChange)`
Creates a new `MultisetListenerHelper.AtomicChange` that represents a change comprising a single elementary sub-change.
``
`AtomicChange(ObservableMultiset<E> source, MultisetChangeListener.Change<? extends E> change)`
Creates a new `MultisetListenerHelper.AtomicChange` for the passed in source, based on the data provided in the passed-in change.
``
`Change(ObservableMultiset<E> source)`
Creates a new (atomic) change associated with the given source `ObservableMultiset`.
``
`MultisetListenerHelper(ObservableMultiset<E> source)`
Constructs a new `MultisetListenerHelper` for the given source `ObservableMultiset`.