Interface ByteExpression
-
- All Superinterfaces:
ComparableExpression<Byte>,EventSource<ObservableEvent<Byte>,ObservableEventListener<? super Byte>>,Expression<Byte>,NumberExpression<Byte>,ObservableByteValue,ObservableNumberValue<Byte>,ObservableSimpleValue<Byte>,ObservableValue<Byte>,ReadableByteValue,ReadableNumberValue<Byte>,ReadableSimpleValue<Byte>,ReadableTypedValue<Byte>,ReadableValue<Byte>,Supplier<Byte>
- All Known Subinterfaces:
ReadableByteProperty,WritableByteProperty
- All Known Implementing Classes:
ByteBinding,ByteProperty
public interface ByteExpression extends ObservableByteValue, NumberExpression<Byte>
- 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.bytes.ReadableByteValue
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 ByteExpression negate()
- Specified by:
negatein interfaceNumberExpression<Byte>- Returns:
- a
NumberExpressionholding the negativevalue.
-
add
default BigIntegerExpression add(ObservableBigIntegerValue other)
- Specified by:
addin interfaceNumberExpression<Byte>- 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<Byte>- 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<Byte>- Parameters:
other- theObservableFloatValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableFloatValue.
-
add
default LongExpression add(ObservableLongValue other)
- Specified by:
addin interfaceNumberExpression<Byte>- Parameters:
other- theObservableLongValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableLongValue.
-
add
default IntegerExpression add(ObservableIntegerValue other)
- Specified by:
addin interfaceNumberExpression<Byte>- Parameters:
other- theObservableIntegerValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableIntegerValue.
-
add
default ShortExpression add(ObservableShortValue other)
- Specified by:
addin interfaceNumberExpression<Byte>- Parameters:
other- theObservableShortValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableShortValue.
-
add
default ByteExpression add(ObservableByteValue other)
- Specified by:
addin interfaceNumberExpression<Byte>- Parameters:
other- theObservableByteValueholding theNumberto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith thevalueof the givenObservableByteValue.
-
add
default BigIntegerExpression add(BigInteger constant)
- Specified by:
addin interfaceNumberExpression<Byte>- 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<Byte>- 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<Byte>- Parameters:
constant- the constantfloatto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default LongExpression add(long constant)
- Specified by:
addin interfaceNumberExpression<Byte>- Parameters:
constant- the constantlongto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default IntegerExpression add(int constant)
- Specified by:
addin interfaceNumberExpression<Byte>- Parameters:
constant- the constantintto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default ShortExpression add(short constant)
- Specified by:
addin interfaceNumberExpression<Byte>- Parameters:
constant- the constantshortto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
add
default ByteExpression add(byte constant)
- Specified by:
addin interfaceNumberExpression<Byte>- Parameters:
constant- the constantbyteto add.- Returns:
- a new
NumberExpressionholding the sum of thisvaluewith the givenconstant.
-
subtract
default BigIntegerExpression subtract(ObservableBigIntegerValue other)
- Specified by:
subtractin interfaceNumberExpression<Byte>- 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<Byte>- 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<Byte>- Parameters:
other- theObservableFloatValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableFloatValue.
-
subtract
default LongExpression subtract(ObservableLongValue other)
- Specified by:
subtractin interfaceNumberExpression<Byte>- Parameters:
other- theObservableLongValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableLongValue.
-
subtract
default IntegerExpression subtract(ObservableIntegerValue other)
- Specified by:
subtractin interfaceNumberExpression<Byte>- Parameters:
other- theObservableIntegerValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableIntegerValue.
-
subtract
default ShortExpression subtract(ObservableShortValue other)
- Specified by:
subtractin interfaceNumberExpression<Byte>- Parameters:
other- theObservableShortValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableShortValue.
-
subtract
default ByteExpression subtract(ObservableByteValue other)
- Specified by:
subtractin interfaceNumberExpression<Byte>- Parameters:
other- theObservableByteValueholding theNumberto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith thevalueof the givenObservableByteValue.
-
subtract
default BigIntegerExpression subtract(BigInteger constant)
- Specified by:
subtractin interfaceNumberExpression<Byte>- 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<Byte>- 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<Byte>- Parameters:
constant- the constantfloatto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default LongExpression subtract(long constant)
- Specified by:
subtractin interfaceNumberExpression<Byte>- Parameters:
constant- the constantlongto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default IntegerExpression subtract(int constant)
- Specified by:
subtractin interfaceNumberExpression<Byte>- Parameters:
constant- the constantintto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default ShortExpression subtract(short constant)
- Specified by:
subtractin interfaceNumberExpression<Byte>- Parameters:
constant- the constantshortto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
subtract
default ByteExpression subtract(byte constant)
- Specified by:
subtractin interfaceNumberExpression<Byte>- Parameters:
constant- the constantbyteto subtract.- Returns:
- a new
NumberExpressionholding the difference of thisvaluewith the givenconstant.
-
multiply
default BigIntegerExpression multiply(ObservableBigIntegerValue other)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- 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<Byte>- 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<Byte>- Parameters:
other- theObservableFloatValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableFloatValue.
-
multiply
default LongExpression multiply(ObservableLongValue other)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- Parameters:
other- theObservableLongValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableLongValue.
-
multiply
default IntegerExpression multiply(ObservableIntegerValue other)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- Parameters:
other- theObservableIntegerValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableIntegerValue.
-
multiply
default ShortExpression multiply(ObservableShortValue other)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- Parameters:
other- theObservableShortValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableShortValue.
-
multiply
default ByteExpression multiply(ObservableByteValue other)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- Parameters:
other- theObservableByteValueholding theNumberto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluewith thevalueof the givenObservableByteValue.
-
multiply
default BigIntegerExpression multiply(BigInteger constant)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- 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<Byte>- 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<Byte>- Parameters:
constant- the constantfloatto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default LongExpression multiply(long constant)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- Parameters:
constant- the constantlongto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default IntegerExpression multiply(int constant)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- Parameters:
constant- the constantintto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default ShortExpression multiply(short constant)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- Parameters:
constant- the constantshortto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
multiply
default ByteExpression multiply(byte constant)
- Specified by:
multiplyin interfaceNumberExpression<Byte>- Parameters:
constant- the constantbyteto multiply.- Returns:
- a new
NumberExpressionholding the product of thisvaluemultiplied with the givenconstant.
-
divide
default BigIntegerExpression divide(ObservableBigIntegerValue other)
- Specified by:
dividein interfaceNumberExpression<Byte>- 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<Byte>- 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<Byte>- Parameters:
other- theObservableFloatValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableFloatValue.
-
divide
default LongExpression divide(ObservableLongValue other)
- Specified by:
dividein interfaceNumberExpression<Byte>- Parameters:
other- theObservableLongValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableLongValue.
-
divide
default IntegerExpression divide(ObservableIntegerValue other)
- Specified by:
dividein interfaceNumberExpression<Byte>- Parameters:
other- theObservableIntegerValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableIntegerValue.
-
divide
default ShortExpression divide(ObservableShortValue other)
- Specified by:
dividein interfaceNumberExpression<Byte>- Parameters:
other- theObservableShortValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableShortValue.
-
divide
default ByteExpression divide(ObservableByteValue other)
- Specified by:
dividein interfaceNumberExpression<Byte>- Parameters:
other- theObservableByteValueholding theNumberto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluewith thevalueof the givenObservableByteValue.
-
divide
default BigIntegerExpression divide(BigInteger constant)
- Specified by:
dividein interfaceNumberExpression<Byte>- 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<Byte>- 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<Byte>- Parameters:
constant- the constantfloatto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default LongExpression divide(long constant)
- Specified by:
dividein interfaceNumberExpression<Byte>- Parameters:
constant- the constantlongto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default IntegerExpression divide(int constant)
- Specified by:
dividein interfaceNumberExpression<Byte>- Parameters:
constant- the constantintto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default ShortExpression divide(short constant)
- Specified by:
dividein interfaceNumberExpression<Byte>- Parameters:
constant- the constantshortto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
divide
default ByteExpression divide(byte constant)
- Specified by:
dividein interfaceNumberExpression<Byte>- Parameters:
constant- the constantbyteto divide.- Returns:
- a new
NumberExpressionholding the quotient of thisvaluedivided by the givenconstant.
-
-