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 BooleanBindinggreaterThan(ObservableValue<V> other)default BooleanBindinggreaterThan(V other)default BooleanBindinggreaterThanOrEqualTo(ObservableValue<V> other)default BooleanBindinggreaterThanOrEqualTo(V other)default BooleanBindinglessThan(ObservableValue<V> other)default BooleanBindinglessThan(V other)default BooleanBindinglessThanOrEqualTo(ObservableValue<V> other)default BooleanBindinglessThanOrEqualTo(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
BooleanBindingthat holdstrueif thevalueof this property is greater than thevalueof another the givenObservableValue.
-
greaterThan
default BooleanBinding greaterThan(V other)
- Parameters:
other- the constant value to compare.- Returns:
- a new
BooleanBindingthat holdstrueif thevalueof this property is greater than the givenString.
-
lessThan
default BooleanBinding lessThan(ObservableValue<V> other)
- Parameters:
other- theObservableValue<V>to compare.- Returns:
- a new
BooleanBindingthat holdstrueif thevalueof this property is less than thevalueof another the givenObservableValue.
-
lessThan
default BooleanBinding lessThan(V other)
- Parameters:
other- the constant value to compare.- Returns:
- a new
BooleanBindingthat holdstrueif thevalueof this property is less than the givenString.
-
greaterThanOrEqualTo
default BooleanBinding greaterThanOrEqualTo(ObservableValue<V> other)
- Parameters:
other- theObservableValue<V>to compare.- Returns:
- a new
BooleanBindingthat holdstrueif thevalueof this property is greater than or equal to thevalueof another the givenObservableValue.
-
greaterThanOrEqualTo
default BooleanBinding greaterThanOrEqualTo(V other)
- Parameters:
other- the constant value to compare.- Returns:
- a new
BooleanBindingthat holdstrueif thevalueof 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
BooleanBindingthat holdstrueif thevalueof this property is less than thevalueof another the givenObservableValue.
-
lessThanOrEqualTo
default BooleanBinding lessThanOrEqualTo(V other)
- Parameters:
other- the constant value to compare.- Returns:
- a new
BooleanBindingthat holdstrueif thevalueof this property is less than or equal to the givenString.
-
-