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