public static <K, V> IntegerBinding size (ObservableMap<K, V> op)

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

Parameters:
op     the ObservableMap
<K>    type of the key elements of the Map
<V>    type of the value elements of the Map

Returns:  the new IntegerBinding

Exceptions:
NullPointerException     if the ObservableMap is null

Since:  JavaFX 2.1