Interface BooleanExpression
-
- All Superinterfaces:
EventSource<ObservableEvent<Boolean>,ObservableEventListener<? super Boolean>>
,Expression<Boolean>
,ObservableBooleanValue
,ObservableSimpleValue<Boolean>
,ObservableValue<Boolean>
,ReadableBooleanValue
,ReadableSimpleValue<Boolean>
,ReadableTypedValue<Boolean>
,ReadableValue<Boolean>
,Supplier<Boolean>
- All Known Subinterfaces:
ReadableBooleanProperty
,WritableBooleanProperty
- All Known Implementing Classes:
BooleanBinding
,BooleanProperty
public interface BooleanExpression extends ObservableBooleanValue, Expression<Boolean>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default BooleanExpression
and(ObservableValue<Boolean> other)
default BooleanExpression
and(Boolean constant)
default BooleanExpression
not()
default BooleanExpression
or(ObservableValue<Boolean> other)
default BooleanExpression
or(Boolean constant)
-
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
-
Methods inherited from interface io.github.mmm.value.observable.Expression
asString, dispose, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull
-
Methods inherited from interface io.github.mmm.value.observable.ObservableValue
toString
-
Methods inherited from interface io.github.mmm.value.observable.booleans.ReadableBooleanValue
getSafe, getValue, getValueClass
-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableSimpleValue
getAsString
-
Methods inherited from interface io.github.mmm.value.ReadableValue
get
-
-
-
-
Method Detail
-
not
default BooleanExpression not()
- Returns:
- a new
BooleanExpression
holding the negation of thisvalue
.
-
and
default BooleanExpression and(ObservableValue<Boolean> other)
- Parameters:
other
- the otherObservableValue
.- Returns:
- the new
BooleanExpression
holding the logical AND of thevalue
s from thisBooleanExpression
and the givenObservableValue
.
-
and
default BooleanExpression and(Boolean constant)
-
or
default BooleanExpression or(ObservableValue<Boolean> other)
- Parameters:
other
- the otherObservableValue
.- Returns:
- the new
BooleanExpression
holding the logical OR of thisvalue
and the givenother
s value.
-
or
default BooleanExpression or(Boolean constant)
- Parameters:
constant
- the constantBoolean
value.- Returns:
- the new
BooleanExpression
holding the logical OR of thevalue
s from thisBooleanExpression
and the givenconstant
value.
-
-