/** * Returns a value which is the logical NOT of the supplied value. */ public static ValueView<Boolean> not (ValueView<Boolean> value) { return value.map(Functions.NOT); }
/** * Returns a value which is the logical NOT of the supplied value. */ public static ValueView<Boolean> not (ValueView<Boolean> value) { return value.map(Functions.NOT); }
/** * Returns a reactive value which is false when this collection is empty, true otherwise. */ public ValueView<Boolean> isNonEmptyView () { return sizeView().map(Functions.greaterThan(0)); }
/** * Returns a reactive value which is true when this collection is empty, false otherwise. */ public ValueView<Boolean> isEmptyView () { return sizeView().map(Functions.lessThanEqual(0)); }
/** * Returns a reactive value which is true when this collection is empty, false otherwise. */ public ValueView<Boolean> isEmptyView () { return sizeView().map(Functions.lessThanEqual(0)); }
/** * Returns a reactive value which is false when this collection is empty, true otherwise. */ public ValueView<Boolean> isNonEmptyView () { return sizeView().map(Functions.greaterThan(0)); }
public Closeable connect () { return textV.map(Functions.TO_STRING).connectNotify(text.slot()); } @Override public String toString () {