public static <E> IntegerBinding size (ObservableSet<E> op)

Creates a new javafx.beans.binding.IntegerBinding that contains the size of an javafx.collections.ObservableSet.

Parameters:
op     the ObservableSet
<E>    the type of the Set elements

Returns:  the new IntegerBinding

Exceptions:
NullPointerException     if the ObservableSet is null

Since:  JavaFX 2.1