Interface ComparableExpression<V extends Comparable<? super V>>
-
- Type Parameters:
V
- type of thevalue
.
- All Superinterfaces:
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
,ReadableBigDecimalProperty
,ReadableBigIntegerProperty
,ReadableByteProperty
,ReadableDoubleProperty
,ReadableFloatProperty
,ReadableInstantProperty
,ReadableIntegerProperty
,ReadableLocalDateProperty
,ReadableLocalDateTimeProperty
,ReadableLocalTimeProperty
,ReadableLongProperty
,ReadableNumberProperty<N>
,ReadableOffsetDateTimeProperty
,ReadableOffsetTimeProperty
,ReadableShortProperty
,ReadableStringProperty
,ReadableZonedDateTimeProperty
,ShortExpression
,StringExpression
,TemporalExpression<V>
,WritableBigDecimalProperty
,WritableBigIntegerProperty
,WritableByteProperty
,WritableDoubleProperty
,WritableFloatProperty
,WritableInstantProperty
,WritableIntegerProperty
,WritableLocalDateProperty
,WritableLocalDateTimeProperty
,WritableLocalTimeProperty
,WritableLongProperty
,WritableNumberProperty<N>
,WritableOffsetDateTimeProperty
,WritableOffsetTimeProperty
,WritableShortProperty
,WritableStringProperty
,WritableZonedDateTimeProperty
,ZonedDateTimeExpression
- All Known Implementing Classes:
BigDecimalBinding
,BigDecimalProperty
,BigIntegerBinding
,BigIntegerProperty
,ByteBinding
,ByteProperty
,DoubleBinding
,DoubleProperty
,DurationInSecondsProperty
,FloatBinding
,FloatProperty
,InstantBinding
,InstantProperty
,IntegerBinding
,IntegerProperty
,LocalDateBinding
,LocalDateProperty
,LocalDateTimeBinding
,LocalDateTimeProperty
,LocalTimeBinding
,LocalTimeProperty
,LongBinding
,LongProperty
,NumberBinding
,NumberProperty
,OffsetDateTimeBinding
,OffsetDateTimeBinding
,OffsetDateTimeProperty
,OffsetTimeProperty
,ShortBinding
,ShortProperty
,StringBinding
,StringListProperty
,StringProperty
,ZonedDateTimeBinding
,ZonedDateTimeProperty
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
.
-
-