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:
negatein interfaceNumberExpression<Float>- Returns:
- a
NumberExpressionholding the negativevalue.
-
add
default BigDecimalExpression add(ObservableBigIntegerValue other)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
other- theObservableBigIntegerValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableBigIntegerValue.
-
add
default DoubleExpression add(ObservableDoubleValue other)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
other- theObservableDoubleValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableDoubleValue.
-
add
default FloatExpression add(ObservableFloatValue other)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
other- theObservableFloatValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableFloatValue.
-
add
default FloatExpression add(ObservableLongValue other)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
other- theObservableLongValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableLongValue.
-
add
default FloatExpression add(ObservableIntegerValue other)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
other- theObservableIntegerValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableIntegerValue.
-
add
default FloatExpression add(ObservableShortValue other)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
other- theObservableShortValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableShortValue.
-
add
default FloatExpression add(ObservableByteValue other)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
other- theObservableByteValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableByteValue.
-
add
default BigDecimalExpression add(BigInteger constant)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
constant- the constantBigIntegerto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default DoubleExpression add(double constant)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
constant- the constantdoubleto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default FloatExpression add(float constant)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
constant- the constantfloatto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default FloatExpression add(long constant)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
constant- the constantlongto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default FloatExpression add(int constant)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
constant- the constantintto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default FloatExpression add(short constant)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
constant- the constantshortto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default FloatExpression add(byte constant)
- Specified by:
addin interfaceNumberExpression<Float>- Parameters:
constant- the constantbyteto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
subtract
default BigDecimalExpression subtract(ObservableBigIntegerValue other)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
other- theObservableBigIntegerValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableBigIntegerValue.
-
subtract
default DoubleExpression subtract(ObservableDoubleValue other)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
other- theObservableDoubleValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableDoubleValue.
-
subtract
default FloatExpression subtract(ObservableFloatValue other)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
other- theObservableFloatValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableFloatValue.
-
subtract
default FloatExpression subtract(ObservableLongValue other)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
other- theObservableLongValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableLongValue.
-
subtract
default FloatExpression subtract(ObservableIntegerValue other)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
other- theObservableIntegerValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableIntegerValue.
-
subtract
default FloatExpression subtract(ObservableShortValue other)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
other- theObservableShortValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableShortValue.
-
subtract
default FloatExpression subtract(ObservableByteValue other)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
other- theObservableByteValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableByteValue.
-
subtract
default BigDecimalExpression subtract(BigInteger constant)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
constant- the constantBigIntegerto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default DoubleExpression subtract(double constant)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
constant- the constantdoubleto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default FloatExpression subtract(float constant)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
constant- the constantfloatto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default FloatExpression subtract(long constant)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
constant- the constantlongto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default FloatExpression subtract(int constant)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
constant- the constantintto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default FloatExpression subtract(short constant)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
constant- the constantshortto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default FloatExpression subtract(byte constant)
- Specified by:
subtractin interfaceNumberExpression<Float>- Parameters:
constant- the constantbyteto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
multiply
default BigDecimalExpression multiply(ObservableBigIntegerValue other)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
other- theObservableBigIntegerValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableBigIntegerValue.
-
multiply
default DoubleExpression multiply(ObservableDoubleValue other)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
other- theObservableDoubleValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableDoubleValue.
-
multiply
default FloatExpression multiply(ObservableFloatValue other)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
other- theObservableFloatValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableFloatValue.
-
multiply
default FloatExpression multiply(ObservableLongValue other)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
other- theObservableLongValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableLongValue.
-
multiply
default FloatExpression multiply(ObservableIntegerValue other)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
other- theObservableIntegerValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableIntegerValue.
-
multiply
default FloatExpression multiply(ObservableShortValue other)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
other- theObservableShortValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableShortValue.
-
multiply
default FloatExpression multiply(ObservableByteValue other)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
other- theObservableByteValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableByteValue.
-
multiply
default BigDecimalExpression multiply(BigInteger constant)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
constant- the constantBigIntegerto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default DoubleExpression multiply(double constant)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
constant- the constantdoubleto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default FloatExpression multiply(float constant)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
constant- the constantfloatto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default FloatExpression multiply(long constant)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
constant- the constantlongto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default FloatExpression multiply(int constant)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
constant- the constantintto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default FloatExpression multiply(short constant)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
constant- the constantshortto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default FloatExpression multiply(byte constant)
- Specified by:
multiplyin interfaceNumberExpression<Float>- Parameters:
constant- the constantbyteto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
divide
default BigDecimalExpression divide(ObservableBigIntegerValue other)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
other- theObservableBigIntegerValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableBigIntegerValue.
-
divide
default DoubleExpression divide(ObservableDoubleValue other)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
other- theObservableDoubleValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableDoubleValue.
-
divide
default FloatExpression divide(ObservableFloatValue other)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
other- theObservableFloatValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableFloatValue.
-
divide
default FloatExpression divide(ObservableLongValue other)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
other- theObservableLongValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableLongValue.
-
divide
default FloatExpression divide(ObservableIntegerValue other)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
other- theObservableIntegerValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableIntegerValue.
-
divide
default FloatExpression divide(ObservableShortValue other)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
other- theObservableShortValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableShortValue.
-
divide
default FloatExpression divide(ObservableByteValue other)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
other- theObservableByteValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableByteValue.
-
divide
default BigDecimalExpression divide(BigInteger constant)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
constant- the constantBigIntegerto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default DoubleExpression divide(double constant)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
constant- the constantdoubleto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default FloatExpression divide(float constant)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
constant- the constantfloatto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default FloatExpression divide(long constant)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
constant- the constantlongto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default FloatExpression divide(int constant)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
constant- the constantintto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default FloatExpression divide(short constant)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
constant- the constantshortto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default FloatExpression divide(byte constant)
- Specified by:
dividein interfaceNumberExpression<Float>- Parameters:
constant- the constantbyteto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
-