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:
negate
in interfaceNumberExpression<Double>
- Returns:
- a
NumberExpression
holding the negativevalue
.
-
add
default NumberExpression<?> add(ObservableValue<? extends Number> other)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableValue
.
-
add
default BigDecimalExpression add(ObservableBigIntegerValue other)
- Specified by:
add
in interfaceNumberExpression<Double>
- 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<Double>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
add
default DoubleExpression add(ObservableFloatValue other)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
add
default DoubleExpression add(ObservableLongValue other)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableLongValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableLongValue
.
-
add
default DoubleExpression add(ObservableIntegerValue other)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
add
default DoubleExpression add(ObservableShortValue other)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableShortValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableShortValue
.
-
add
default DoubleExpression add(ObservableByteValue other)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableByteValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableByteValue
.
-
add
default NumberExpression<?> add(Number constant)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default BigDecimalExpression add(BigInteger constant)
- Specified by:
add
in interfaceNumberExpression<Double>
- 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<Double>
- Parameters:
constant
- the constantdouble
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default DoubleExpression add(float constant)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantfloat
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default DoubleExpression add(long constant)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantlong
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default DoubleExpression add(int constant)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantint
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default DoubleExpression add(short constant)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantshort
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default DoubleExpression add(byte constant)
- Specified by:
add
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantbyte
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
subtract
default NumberExpression<?> subtract(ObservableValue<? extends Number> other)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableValue
.
-
subtract
default BigDecimalExpression subtract(ObservableBigIntegerValue other)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- 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<Double>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
subtract
default DoubleExpression subtract(ObservableFloatValue other)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
subtract
default DoubleExpression subtract(ObservableLongValue other)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableLongValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableLongValue
.
-
subtract
default DoubleExpression subtract(ObservableIntegerValue other)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
subtract
default DoubleExpression subtract(ObservableShortValue other)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableShortValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableShortValue
.
-
subtract
default DoubleExpression subtract(ObservableByteValue other)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableByteValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableByteValue
.
-
subtract
default NumberExpression<?> subtract(Number constant)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default BigDecimalExpression subtract(BigInteger constant)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- 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<Double>
- Parameters:
constant
- the constantdouble
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default DoubleExpression subtract(float constant)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantfloat
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default DoubleExpression subtract(long constant)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantlong
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default DoubleExpression subtract(int constant)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantint
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default DoubleExpression subtract(short constant)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantshort
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default DoubleExpression subtract(byte constant)
- Specified by:
subtract
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantbyte
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
multiply
default NumberExpression<?> multiply(ObservableValue<? extends Number> other)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableValue
.
-
multiply
default BigDecimalExpression multiply(ObservableBigIntegerValue other)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- 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<Double>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
multiply
default DoubleExpression multiply(ObservableFloatValue other)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
multiply
default DoubleExpression multiply(ObservableLongValue other)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableLongValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableLongValue
.
-
multiply
default DoubleExpression multiply(ObservableIntegerValue other)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
multiply
default DoubleExpression multiply(ObservableShortValue other)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableShortValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableShortValue
.
-
multiply
default DoubleExpression multiply(ObservableByteValue other)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableByteValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableByteValue
.
-
multiply
default NumberExpression<?> multiply(Number constant)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default BigDecimalExpression multiply(BigInteger constant)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- 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<Double>
- Parameters:
constant
- the constantdouble
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default DoubleExpression multiply(float constant)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantfloat
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default DoubleExpression multiply(long constant)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantlong
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default DoubleExpression multiply(int constant)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantint
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default DoubleExpression multiply(short constant)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantshort
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default DoubleExpression multiply(byte constant)
- Specified by:
multiply
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantbyte
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
divide
default NumberExpression<?> divide(ObservableValue<? extends Number> other)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableValue
.
-
divide
default BigDecimalExpression divide(ObservableBigIntegerValue other)
- Specified by:
divide
in interfaceNumberExpression<Double>
- 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<Double>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
divide
default DoubleExpression divide(ObservableFloatValue other)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
divide
default DoubleExpression divide(ObservableLongValue other)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableLongValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableLongValue
.
-
divide
default DoubleExpression divide(ObservableIntegerValue other)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
divide
default DoubleExpression divide(ObservableShortValue other)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableShortValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableShortValue
.
-
divide
default DoubleExpression divide(ObservableByteValue other)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
other
- theObservableByteValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableByteValue
.
-
divide
default NumberExpression<?> divide(Number constant)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default BigDecimalExpression divide(BigInteger constant)
- Specified by:
divide
in interfaceNumberExpression<Double>
- 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<Double>
- Parameters:
constant
- the constantdouble
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default DoubleExpression divide(float constant)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantfloat
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default DoubleExpression divide(long constant)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantlong
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default DoubleExpression divide(int constant)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantint
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default DoubleExpression divide(short constant)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantshort
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default DoubleExpression divide(byte constant)
- Specified by:
divide
in interfaceNumberExpression<Double>
- Parameters:
constant
- the constantbyte
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
-