Interface BigIntegerExpression
-
- All Superinterfaces:
ComparableExpression<BigInteger>
,EventSource<ObservableEvent<BigInteger>,ObservableEventListener<? super BigInteger>>
,Expression<BigInteger>
,NumberExpression<BigInteger>
,ObservableBigIntegerValue
,ObservableNumberValue<BigInteger>
,ObservableSimpleValue<BigInteger>
,ObservableValue<BigInteger>
,ReadableBigIntegerValue
,ReadableNumberValue<BigInteger>
,ReadableSimpleValue<BigInteger>
,ReadableTypedValue<BigInteger>
,ReadableValue<BigInteger>
,Supplier<BigInteger>
- All Known Subinterfaces:
ReadableBigIntegerProperty
,WritableBigIntegerProperty
- All Known Implementing Classes:
BigIntegerBinding
,BigIntegerProperty
public interface BigIntegerExpression extends ObservableBigIntegerValue, NumberExpression<BigInteger>
- 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.biginteger.ReadableBigIntegerValue
getSafe, 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 BigIntegerExpression negate()
- Specified by:
negate
in interfaceNumberExpression<BigInteger>
- Returns:
- a
NumberExpression
holding the negativevalue
.
-
add
default NumberExpression<?> add(ObservableValue<? extends Number> other)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableValue
.
-
add
default BigIntegerExpression add(ObservableBigIntegerValue other)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableBigIntegerValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableBigIntegerValue
.
-
add
default BigDecimalExpression add(ObservableDoubleValue other)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
add
default BigDecimalExpression add(ObservableFloatValue other)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
add
default BigIntegerExpression add(ObservableLongValue other)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableLongValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableLongValue
.
-
add
default BigIntegerExpression add(ObservableIntegerValue other)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
add
default BigIntegerExpression add(ObservableShortValue other)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableShortValue
holding theNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with thevalue
of the givenObservableShortValue
.
-
add
default BigIntegerExpression add(ObservableByteValue other)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- 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<BigInteger>
- Parameters:
constant
- the constantNumber
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default BigIntegerExpression add(BigInteger constant)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantBigInteger
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default BigDecimalExpression add(double constant)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantdouble
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default BigDecimalExpression add(float constant)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantfloat
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default BigIntegerExpression add(long constant)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantlong
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default BigIntegerExpression add(int constant)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantint
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default BigIntegerExpression add(short constant)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantshort
to add.- Returns:
- a new
NumberExpression
holding the sum of thisvalue
with the givenconstant
.
-
add
default BigIntegerExpression add(byte constant)
- Specified by:
add
in interfaceNumberExpression<BigInteger>
- 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<BigInteger>
- Parameters:
other
- theObservableValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableValue
.
-
subtract
default BigIntegerExpression subtract(ObservableBigIntegerValue other)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableBigIntegerValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableBigIntegerValue
.
-
subtract
default BigDecimalExpression subtract(ObservableDoubleValue other)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
subtract
default BigDecimalExpression subtract(ObservableFloatValue other)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
subtract
default BigIntegerExpression subtract(ObservableLongValue other)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableLongValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableLongValue
.
-
subtract
default BigIntegerExpression subtract(ObservableIntegerValue other)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
subtract
default BigIntegerExpression subtract(ObservableShortValue other)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableShortValue
holding theNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with thevalue
of the givenObservableShortValue
.
-
subtract
default BigIntegerExpression subtract(ObservableByteValue other)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- 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<BigInteger>
- Parameters:
constant
- the constantNumber
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default BigIntegerExpression subtract(BigInteger constant)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantBigInteger
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default BigDecimalExpression subtract(double constant)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantdouble
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default BigDecimalExpression subtract(float constant)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantfloat
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default BigIntegerExpression subtract(long constant)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantlong
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default BigIntegerExpression subtract(int constant)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantint
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default BigIntegerExpression subtract(short constant)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantshort
to subtract.- Returns:
- a new
NumberExpression
holding the difference of thisvalue
with the givenconstant
.
-
subtract
default BigIntegerExpression subtract(byte constant)
- Specified by:
subtract
in interfaceNumberExpression<BigInteger>
- 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<BigInteger>
- Parameters:
other
- theObservableValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableValue
.
-
multiply
default BigIntegerExpression multiply(ObservableBigIntegerValue other)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableBigIntegerValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableBigIntegerValue
.
-
multiply
default BigDecimalExpression multiply(ObservableDoubleValue other)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
multiply
default BigDecimalExpression multiply(ObservableFloatValue other)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
multiply
default BigIntegerExpression multiply(ObservableLongValue other)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableLongValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableLongValue
.
-
multiply
default BigIntegerExpression multiply(ObservableIntegerValue other)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
multiply
default BigIntegerExpression multiply(ObservableShortValue other)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableShortValue
holding theNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
with thevalue
of the givenObservableShortValue
.
-
multiply
default BigIntegerExpression multiply(ObservableByteValue other)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- 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<BigInteger>
- Parameters:
constant
- the constantNumber
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default BigIntegerExpression multiply(BigInteger constant)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantBigInteger
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default BigDecimalExpression multiply(double constant)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantdouble
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default BigDecimalExpression multiply(float constant)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantfloat
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default BigIntegerExpression multiply(long constant)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantlong
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default BigIntegerExpression multiply(int constant)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantint
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default BigIntegerExpression multiply(short constant)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantshort
to multiply.- Returns:
- a new
NumberExpression
holding the product of thisvalue
multiplied with the givenconstant
.
-
multiply
default BigIntegerExpression multiply(byte constant)
- Specified by:
multiply
in interfaceNumberExpression<BigInteger>
- 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<BigInteger>
- Parameters:
other
- theObservableValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableValue
.
-
divide
default BigIntegerExpression divide(ObservableBigIntegerValue other)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableBigIntegerValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableBigIntegerValue
.
-
divide
default BigDecimalExpression divide(ObservableDoubleValue other)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableDoubleValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableDoubleValue
.
-
divide
default BigDecimalExpression divide(ObservableFloatValue other)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableFloatValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableFloatValue
.
-
divide
default BigIntegerExpression divide(ObservableLongValue other)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableLongValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableLongValue
.
-
divide
default BigIntegerExpression divide(ObservableIntegerValue other)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableIntegerValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableIntegerValue
.
-
divide
default BigIntegerExpression divide(ObservableShortValue other)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
other
- theObservableShortValue
holding theNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
with thevalue
of the givenObservableShortValue
.
-
divide
default BigIntegerExpression divide(ObservableByteValue other)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- 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<BigInteger>
- Parameters:
constant
- the constantNumber
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default BigIntegerExpression divide(BigInteger constant)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantBigInteger
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default BigDecimalExpression divide(double constant)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantdouble
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default BigDecimalExpression divide(float constant)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantfloat
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default BigIntegerExpression divide(long constant)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantlong
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default BigIntegerExpression divide(int constant)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantint
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default BigIntegerExpression divide(short constant)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantshort
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
divide
default BigIntegerExpression divide(byte constant)
- Specified by:
divide
in interfaceNumberExpression<BigInteger>
- Parameters:
constant
- the constantbyte
to divide.- Returns:
- a new
NumberExpression
holding the quotient of thisvalue
divided by the givenconstant
.
-
-