Interface FloatExpression
-
- All Superinterfaces:
ComparableExpression<Float>
,EventSource<ObservableEvent<Float>,ObservableEventListener<? super Float>>
,Expression<Float>
,NumberExpression<Float>
,ObservableFloatValue
,ObservableNumberValue<Float>
,ObservableSimpleValue<Float>
,ObservableValue<Float>
,ReadableFloatValue
,ReadableNumberValue<Float>
,ReadableSimpleValue<Float>
,ReadableTypedValue<Float>
,ReadableValue<Float>
,Supplier<Float>
- All Known Subinterfaces:
ReadableFloatProperty
,WritableFloatProperty
- All Known Implementing Classes:
FloatBinding
,FloatProperty
public interface FloatExpression extends ObservableFloatValue, NumberExpression<Float>
- Since:
- 1.0.0
-
-
Method Summary
-
Methods inherited from interface io.github.mmm.value.observable.comparable.ComparableExpression
greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo
-
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.number.NumberExpression
add, add, add, add, divide, divide, divide, divide, multiply, multiply, multiply, multiply, subtract, subtract, subtract, subtract
-
Methods inherited from interface io.github.mmm.value.observable.ObservableValue
toString
-
Methods inherited from interface io.github.mmm.value.observable.number.floats.ReadableFloatValue
getSafe, getValue, getValueClass
-
Methods inherited from interface io.github.mmm.value.observable.number.ReadableNumberValue
byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableSimpleValue
getAsString
-
Methods inherited from interface io.github.mmm.value.ReadableValue
get
-
-
-
-
Method Detail
-
negate
default FloatExpression negate()
- Specified by:
negate
in interfaceNumberExpression<Float>
- Returns:
- a
NumberExpression
holding the negativevalue
.
-
add
default BigDecimalExpression add(ObservableBigIntegerValue other)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableBigIntegerValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableBigIntegerValue
.
-
add
default DoubleExpression add(ObservableDoubleValue other)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
add
default FloatExpression add(ObservableFloatValue other)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
add
default FloatExpression add(ObservableLongValue other)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableLongValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableLongValue
.
-
add
default FloatExpression add(ObservableIntegerValue other)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
add
default FloatExpression add(ObservableShortValue other)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableShortValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableShortValue
.
-
add
default FloatExpression add(ObservableByteValue other)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableByteValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableByteValue
.
-
add
default BigDecimalExpression add(BigInteger constant)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantBigInteger
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default DoubleExpression add(double constant)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantdouble
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default FloatExpression add(float constant)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantfloat
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default FloatExpression add(long constant)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantlong
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default FloatExpression add(int constant)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantint
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default FloatExpression add(short constant)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantshort
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default FloatExpression add(byte constant)
- Specified by:
add
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantbyte
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
subtract
default BigDecimalExpression subtract(ObservableBigIntegerValue other)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableBigIntegerValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableBigIntegerValue
.
-
subtract
default DoubleExpression subtract(ObservableDoubleValue other)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
subtract
default FloatExpression subtract(ObservableFloatValue other)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
subtract
default FloatExpression subtract(ObservableLongValue other)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableLongValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableLongValue
.
-
subtract
default FloatExpression subtract(ObservableIntegerValue other)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
subtract
default FloatExpression subtract(ObservableShortValue other)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableShortValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableShortValue
.
-
subtract
default FloatExpression subtract(ObservableByteValue other)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableByteValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableByteValue
.
-
subtract
default BigDecimalExpression subtract(BigInteger constant)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantBigInteger
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default DoubleExpression subtract(double constant)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantdouble
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default FloatExpression subtract(float constant)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantfloat
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default FloatExpression subtract(long constant)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantlong
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default FloatExpression subtract(int constant)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantint
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default FloatExpression subtract(short constant)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantshort
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default FloatExpression subtract(byte constant)
- Specified by:
subtract
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantbyte
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
multiply
default BigDecimalExpression multiply(ObservableBigIntegerValue other)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableBigIntegerValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableBigIntegerValue
.
-
multiply
default DoubleExpression multiply(ObservableDoubleValue other)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
multiply
default FloatExpression multiply(ObservableFloatValue other)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
multiply
default FloatExpression multiply(ObservableLongValue other)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableLongValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableLongValue
.
-
multiply
default FloatExpression multiply(ObservableIntegerValue other)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
multiply
default FloatExpression multiply(ObservableShortValue other)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableShortValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableShortValue
.
-
multiply
default FloatExpression multiply(ObservableByteValue other)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableByteValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableByteValue
.
-
multiply
default BigDecimalExpression multiply(BigInteger constant)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantBigInteger
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default DoubleExpression multiply(double constant)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantdouble
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default FloatExpression multiply(float constant)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantfloat
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default FloatExpression multiply(long constant)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantlong
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default FloatExpression multiply(int constant)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantint
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default FloatExpression multiply(short constant)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantshort
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default FloatExpression multiply(byte constant)
- Specified by:
multiply
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantbyte
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
divide
default BigDecimalExpression divide(ObservableBigIntegerValue other)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableBigIntegerValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableBigIntegerValue
.
-
divide
default DoubleExpression divide(ObservableDoubleValue other)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
divide
default FloatExpression divide(ObservableFloatValue other)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
divide
default FloatExpression divide(ObservableLongValue other)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableLongValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableLongValue
.
-
divide
default FloatExpression divide(ObservableIntegerValue other)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
divide
default FloatExpression divide(ObservableShortValue other)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableShortValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableShortValue
.
-
divide
default FloatExpression divide(ObservableByteValue other)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
other
- theObservableByteValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableByteValue
.
-
divide
default BigDecimalExpression divide(BigInteger constant)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantBigInteger
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default DoubleExpression divide(double constant)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantdouble
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default FloatExpression divide(float constant)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantfloat
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default FloatExpression divide(long constant)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantlong
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default FloatExpression divide(int constant)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantint
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default FloatExpression divide(short constant)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantshort
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default FloatExpression divide(byte constant)
- Specified by:
divide
in interfaceNumberExpression<Float>
- Parameters:
constant
- the constantbyte
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
-