Interface BooleanExpression
- All Superinterfaces:
EventSource<ObservableEvent<Boolean>,,ObservableEventListener<? super Boolean>> Expression<Boolean>,ObservableBooleanValue,ObservableSimpleValue<Boolean>,ObservableValue<Boolean>,ReadableBooleanValue,ReadableSimpleValue<Boolean>,ReadableValue<Boolean>,Supplier<Boolean>
- All Known Implementing Classes:
BooleanBinding
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault BooleanExpressionand(ObservableValue<Boolean> other) default BooleanExpressiondefault BooleanExpressionnot()default BooleanExpressionor(ObservableValue<Boolean> other) default BooleanExpressionMethods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListenerMethods inherited from interface io.github.mmm.value.observable.Expression
asString, dispose, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNullMethods inherited from interface io.github.mmm.value.observable.ObservableValue
toStringMethods inherited from interface io.github.mmm.value.observable.booleans.ReadableBooleanValue
getFallbackSafeValue, getValue, getValueClass, parseMethods inherited from interface io.github.mmm.value.observable.object.ReadableSimpleValue
getAsStringMethods inherited from interface io.github.mmm.value.ReadableValue
get, getSafe
-
Method Details
-
not
- Returns:
- a new
BooleanExpressionholding the negation of thisvalue.
-
and
- Parameters:
other- the otherObservableValue.- Returns:
- the new
BooleanExpressionholding the logical AND of thevalues from thisBooleanExpressionand the givenObservableValue.
-
and
-
or
- Parameters:
other- the otherObservableValue.- Returns:
- the new
BooleanExpressionholding the logical OR of thisvalueand the givenothers value.
-
or
- Parameters:
constant- the constantBooleanvalue.- Returns:
- the new
BooleanExpressionholding the logical OR of thevalues from thisBooleanExpressionand the givenconstantvalue.
-