< prev index next >

modules/javafx.base/src/main/java/javafx/beans/binding/MapExpression.java

Print this page

        

*** 97,106 **** --- 97,108 ---- * {@code ObservableMapValue} is already a {@code MapExpression}, it * will be returned. Otherwise a new * {@link javafx.beans.binding.MapBinding} is created that is bound to * the {@code ObservableMapValue}. * + * @param <K> the type of the wrapped {@code Object} + * @param <V> the type of the wrapped {@code ObjectBinding} * @param value * The source {@code ObservableMapValue} * @return A {@code MapExpression} that wraps the * {@code ObservableMapValue} if necessary * @throws NullPointerException
*** 133,142 **** --- 135,145 ---- }; } /** * The size of the map + * @return the size */ public int getSize() { return size(); }
*** 146,155 **** --- 149,159 ---- */ public abstract ReadOnlyIntegerProperty sizeProperty(); /** * A boolean property that is {@code true}, if the map is empty. + * @return the {@code ReadOnlyBooleanProperty} */ public abstract ReadOnlyBooleanProperty emptyProperty(); /** * Creates a new {@link ObjectBinding} that contains the mapping of the specified key.
< prev index next >