Interface ReadableNumberValue<N extends Number>
-
- Type Parameters:
N- type of the observablevalue.
- All Superinterfaces:
ReadableSimpleValue<N>,ReadableTypedValue<N>,ReadableValue<N>,Supplier<N>
- All Known Subinterfaces:
BigDecimalExpression,BigIntegerExpression,ByteExpression,DoubleExpression,FloatExpression,IntegerExpression,LongExpression,NumberExpression<N>,ObservableBigDecimalValue,ObservableBigIntegerValue,ObservableByteValue,ObservableDoubleValue,ObservableFloatValue,ObservableIntegerValue,ObservableLongValue,ObservableNumberValue<N>,ObservableShortValue,ReadableBigDecimalProperty,ReadableBigDecimalValue,ReadableBigIntegerProperty,ReadableBigIntegerValue,ReadableByteProperty,ReadableByteValue,ReadableDoubleProperty,ReadableDoubleValue,ReadableFloatProperty,ReadableFloatValue,ReadableIntegerProperty,ReadableIntegerValue,ReadableLongProperty,ReadableLongValue,ReadableNumberProperty<N>,ReadableShortProperty,ReadableShortValue,ShortExpression,WritableBigDecimalProperty,WritableBigDecimalValue,WritableBigIntegerProperty,WritableBigIntegerValue,WritableByteProperty,WritableByteValue,WritableDoubleProperty,WritableDoubleValue,WritableFloatProperty,WritableFloatValue,WritableIntegerProperty,WritableIntegerValue,WritableLongProperty,WritableLongValue,WritableNumberProperty<N>,WritableNumberValue<N>,WritableShortProperty,WritableShortValue
- All Known Implementing Classes:
BigDecimalBinding,BigDecimalProperty,BigIntegerBinding,BigIntegerProperty,ByteBinding,ByteProperty,DoubleBinding,DoubleProperty,DurationInSecondsProperty,FloatBinding,FloatProperty,IntegerBinding,IntegerProperty,LongBinding,LongProperty,NumberBinding,NumberProperty,ShortBinding,ShortProperty
public interface ReadableNumberValue<N extends Number> extends ReadableSimpleValue<N>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default bytebyteValue()default doubledoubleValue()default floatfloatValue()default intintValue()default longlongValue()default shortshortValue()-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableSimpleValue
getAsString
-
Methods inherited from interface io.github.mmm.value.ReadableTypedValue
getValueClass
-
Methods inherited from interface io.github.mmm.value.ReadableValue
get, getSafe
-
-
-
-
Method Detail
-
intValue
default int intValue()
- Returns:
- the value converted to
int. Will be0if undefined.
-
longValue
default long longValue()
- Returns:
- the value converted to
long. Will be0if undefined.
-
floatValue
default float floatValue()
- Returns:
- the value converted to
float. Will be0if undefined.
-
doubleValue
default double doubleValue()
- Returns:
- the value converted to
double. Will be0if undefined.
-
shortValue
default short shortValue()
- Returns:
- the value converted to
short. Will be0if undefined.
-
byteValue
default byte byteValue()
- Returns:
- the value converted to
byte. Will be0if undefined.
-
-