Interface ComparableExpression<V extends Comparable<? super V>>
-
- Type Parameters:
V
- type of thevalue
.
- All Superinterfaces:
io.github.mmm.event.EventSource<ObservableEvent<V>,ObservableEventListener<? super V>>
,Expression<V>
,ObservableValue<V>
,ReadableValue<V>
,Supplier<V>
- All Known Subinterfaces:
BigDecimalExpression
,BigIntegerExpression
,ByteExpression
,DoubleExpression
,FloatExpression
,InstantExpression
,IntegerExpression
,LocalDateExpression
,LocalDateTimeExpression
,LocalTimeExpression
,LongExpression
,NumberExpression<N>
,OffsetDateTimeExpression
,OffsetTimeExpression
,ShortExpression
,StringExpression
,TemporalExpression<V>
,ZonedDateTimeExpression
- All Known Implementing Classes:
BigDecimalBinding
,BigIntegerBinding
,ByteBinding
,DoubleBinding
,FloatBinding
,InstantBinding
,IntegerBinding
,LocalDateBinding
,LocalDateTimeBinding
,LocalTimeBinding
,LongBinding
,NumberBinding
,OffsetDateTimeBinding
,OffsetDateTimeBinding
,ShortBinding
,StringBinding
,ZonedDateTimeBinding
public interface ComparableExpression<V extends Comparable<? super V>> extends Expression<V>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default BooleanBinding
greaterThan(ObservableValue<V> other)
default BooleanBinding
greaterThan(V other)
default BooleanBinding
greaterThanOrEqualTo(ObservableValue<V> other)
default BooleanBinding
greaterThanOrEqualTo(V other)
default BooleanBinding
lessThan(ObservableValue<V> other)
default BooleanBinding
lessThan(V other)
default BooleanBinding
lessThanOrEqualTo(ObservableValue<V> other)
default BooleanBinding
lessThanOrEqualTo(V other)
-
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.ReadableValue
get, getSafe
-
-
-
-
Method Detail
-
greaterThan
default BooleanBinding greaterThan(ObservableValue<V> other)
- Parameters:
other
- theObservableValue<V>
to compare.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is greater than thevalue
of another the givenObservableValue
.
-
greaterThan
default BooleanBinding greaterThan(V other)
- Parameters:
other
- the constant value to compare.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is greater than the givenString
.
-
lessThan
default BooleanBinding lessThan(ObservableValue<V> other)
- Parameters:
other
- theObservableValue<V>
to compare.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is less than thevalue
of another the givenObservableValue
.
-
lessThan
default BooleanBinding lessThan(V other)
- Parameters:
other
- the constant value to compare.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is less than the givenString
.
-
greaterThanOrEqualTo
default BooleanBinding greaterThanOrEqualTo(ObservableValue<V> other)
- Parameters:
other
- theObservableValue<V>
to compare.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is greater than or equal to thevalue
of another the givenObservableValue
.
-
greaterThanOrEqualTo
default BooleanBinding greaterThanOrEqualTo(V other)
- Parameters:
other
- the constant value to compare.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is greater than or equal to the givenString
.
-
lessThanOrEqualTo
default BooleanBinding lessThanOrEqualTo(ObservableValue<V> other)
- Parameters:
other
- theObservableValue<V>
to compare.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is less than thevalue
of another the givenObservableValue
.
-
lessThanOrEqualTo
default BooleanBinding lessThanOrEqualTo(V other)
- Parameters:
other
- the constant value to compare.- Returns:
- a new
BooleanBinding
that holdstrue
if thevalue
of this property is less than or equal to the givenString
.
-
-