Module javafx.base

Class SetExpression<E>

java.lang.Object
javafx.beans.binding.SetExpression<E>
Type Parameters:
E - the type of the Set elements
All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>, Observable, ObservableObjectValue<ObservableSet<E>>, ObservableSetValue<E>, ObservableValue<ObservableSet<E>>, ObservableSet<E>
Direct Known Subclasses:
ReadOnlySetProperty, SetBinding

public abstract class SetExpression<E> extends Object implements ObservableSetValue<E>
SetExpression is an ObservableSetValue plus additional convenience methods to generate bindings in a fluent style.

A concrete sub-class of SetExpression has to implement the method ObservableObjectValue.get(), which provides the actual value of this expression.

If the wrapped list of a SetExpression is null, all methods implementing the Set interface will behave as if they were applied to an immutable empty set.

Since:
JavaFX 2.1