Interface DoubleExpression
-
- All Superinterfaces:
ComparableExpression<Double>,EventSource<ObservableEvent<Double>,ObservableEventListener<? super Double>>,Expression<Double>,NumberExpression<Double>,ObservableDoubleValue,ObservableNumberValue<Double>,ObservableSimpleValue<Double>,ObservableValue<Double>,ReadableDoubleValue,ReadableNumberValue<Double>,ReadableSimpleValue<Double>,ReadableTypedValue<Double>,ReadableValue<Double>,Supplier<Double>
- All Known Subinterfaces:
ReadableDoubleProperty,WritableDoubleProperty
- All Known Implementing Classes:
DoubleBinding,DoubleProperty
public interface DoubleExpression extends ObservableDoubleValue, NumberExpression<Double>
- 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, divide, divide, multiply, multiply, subtract, subtract
-
Methods inherited from interface io.github.mmm.value.observable.ObservableValue
toString
-
Methods inherited from interface io.github.mmm.value.observable.number.doubles.ReadableDoubleValue
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 DoubleExpression negate()
- Specified by:
negatein interfaceNumberExpression<Double>- Returns:
- a
NumberExpressionholding the negativevalue.
-
add
default NumberExpression<?> add(ObservableValue<? extends Number> other)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
other- theObservableValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableValue.
-
add
default BigDecimalExpression add(ObservableBigIntegerValue other)
- Specified by:
addin interfaceNumberExpression<Double>- 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<Double>- Parameters:
other- theObservableDoubleValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableDoubleValue.
-
add
default DoubleExpression add(ObservableFloatValue other)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
other- theObservableFloatValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableFloatValue.
-
add
default DoubleExpression add(ObservableLongValue other)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
other- theObservableLongValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableLongValue.
-
add
default DoubleExpression add(ObservableIntegerValue other)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
other- theObservableIntegerValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableIntegerValue.
-
add
default DoubleExpression add(ObservableShortValue other)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
other- theObservableShortValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableShortValue.
-
add
default DoubleExpression add(ObservableByteValue other)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
other- theObservableByteValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableByteValue.
-
add
default NumberExpression<?> add(Number constant)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
constant- the constantNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default BigDecimalExpression add(BigInteger constant)
- Specified by:
addin interfaceNumberExpression<Double>- 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<Double>- Parameters:
constant- the constantdoubleto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default DoubleExpression add(float constant)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
constant- the constantfloatto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default DoubleExpression add(long constant)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
constant- the constantlongto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default DoubleExpression add(int constant)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
constant- the constantintto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default DoubleExpression add(short constant)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
constant- the constantshortto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default DoubleExpression add(byte constant)
- Specified by:
addin interfaceNumberExpression<Double>- Parameters:
constant- the constantbyteto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
subtract
default NumberExpression<?> subtract(ObservableValue<? extends Number> other)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
other- theObservableValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableValue.
-
subtract
default BigDecimalExpression subtract(ObservableBigIntegerValue other)
- Specified by:
subtractin interfaceNumberExpression<Double>- 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<Double>- Parameters:
other- theObservableDoubleValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableDoubleValue.
-
subtract
default DoubleExpression subtract(ObservableFloatValue other)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
other- theObservableFloatValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableFloatValue.
-
subtract
default DoubleExpression subtract(ObservableLongValue other)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
other- theObservableLongValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableLongValue.
-
subtract
default DoubleExpression subtract(ObservableIntegerValue other)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
other- theObservableIntegerValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableIntegerValue.
-
subtract
default DoubleExpression subtract(ObservableShortValue other)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
other- theObservableShortValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableShortValue.
-
subtract
default DoubleExpression subtract(ObservableByteValue other)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
other- theObservableByteValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableByteValue.
-
subtract
default NumberExpression<?> subtract(Number constant)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
constant- the constantNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default BigDecimalExpression subtract(BigInteger constant)
- Specified by:
subtractin interfaceNumberExpression<Double>- 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<Double>- Parameters:
constant- the constantdoubleto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default DoubleExpression subtract(float constant)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
constant- the constantfloatto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default DoubleExpression subtract(long constant)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
constant- the constantlongto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default DoubleExpression subtract(int constant)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
constant- the constantintto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default DoubleExpression subtract(short constant)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
constant- the constantshortto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default DoubleExpression subtract(byte constant)
- Specified by:
subtractin interfaceNumberExpression<Double>- Parameters:
constant- the constantbyteto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
multiply
default NumberExpression<?> multiply(ObservableValue<? extends Number> other)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
other- theObservableValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableValue.
-
multiply
default BigDecimalExpression multiply(ObservableBigIntegerValue other)
- Specified by:
multiplyin interfaceNumberExpression<Double>- 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<Double>- Parameters:
other- theObservableDoubleValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableDoubleValue.
-
multiply
default DoubleExpression multiply(ObservableFloatValue other)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
other- theObservableFloatValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableFloatValue.
-
multiply
default DoubleExpression multiply(ObservableLongValue other)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
other- theObservableLongValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableLongValue.
-
multiply
default DoubleExpression multiply(ObservableIntegerValue other)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
other- theObservableIntegerValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableIntegerValue.
-
multiply
default DoubleExpression multiply(ObservableShortValue other)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
other- theObservableShortValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableShortValue.
-
multiply
default DoubleExpression multiply(ObservableByteValue other)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
other- theObservableByteValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableByteValue.
-
multiply
default NumberExpression<?> multiply(Number constant)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
constant- the constantNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default BigDecimalExpression multiply(BigInteger constant)
- Specified by:
multiplyin interfaceNumberExpression<Double>- 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<Double>- Parameters:
constant- the constantdoubleto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default DoubleExpression multiply(float constant)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
constant- the constantfloatto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default DoubleExpression multiply(long constant)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
constant- the constantlongto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default DoubleExpression multiply(int constant)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
constant- the constantintto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default DoubleExpression multiply(short constant)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
constant- the constantshortto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default DoubleExpression multiply(byte constant)
- Specified by:
multiplyin interfaceNumberExpression<Double>- Parameters:
constant- the constantbyteto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
divide
default NumberExpression<?> divide(ObservableValue<? extends Number> other)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
other- theObservableValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableValue.
-
divide
default BigDecimalExpression divide(ObservableBigIntegerValue other)
- Specified by:
dividein interfaceNumberExpression<Double>- 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<Double>- Parameters:
other- theObservableDoubleValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableDoubleValue.
-
divide
default DoubleExpression divide(ObservableFloatValue other)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
other- theObservableFloatValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableFloatValue.
-
divide
default DoubleExpression divide(ObservableLongValue other)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
other- theObservableLongValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableLongValue.
-
divide
default DoubleExpression divide(ObservableIntegerValue other)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
other- theObservableIntegerValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableIntegerValue.
-
divide
default DoubleExpression divide(ObservableShortValue other)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
other- theObservableShortValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableShortValue.
-
divide
default DoubleExpression divide(ObservableByteValue other)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
other- theObservableByteValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableByteValue.
-
divide
default NumberExpression<?> divide(Number constant)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
constant- the constantNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default BigDecimalExpression divide(BigInteger constant)
- Specified by:
dividein interfaceNumberExpression<Double>- 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<Double>- Parameters:
constant- the constantdoubleto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default DoubleExpression divide(float constant)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
constant- the constantfloatto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default DoubleExpression divide(long constant)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
constant- the constantlongto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default DoubleExpression divide(int constant)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
constant- the constantintto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default DoubleExpression divide(short constant)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
constant- the constantshortto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default DoubleExpression divide(byte constant)
- Specified by:
dividein interfaceNumberExpression<Double>- Parameters:
constant- the constantbyteto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
-