Package org.msgpack.value
Interface ImmutableNumberValue
-
- All Superinterfaces:
ImmutableValue,NumberValue,Value
- All Known Subinterfaces:
ImmutableFloatValue,ImmutableIntegerValue
- All Known Implementing Classes:
ImmutableBigIntegerValueImpl,ImmutableDoubleValueImpl,ImmutableLongValueImpl
public interface ImmutableNumberValue extends NumberValue, ImmutableValue
Immutable base interface ofImmutableIntegerValueandImmutableFloatValueinterfaces. To extract primitive type values, call toXXX methods, which may lose some information by rounding or truncation.- See Also:
ImmutableIntegerValue,ImmutableFloatValue
-
-
Method Summary
-
Methods inherited from interface org.msgpack.value.ImmutableValue
asArrayValue, asBinaryValue, asBooleanValue, asFloatValue, asIntegerValue, asMapValue, asNilValue, asRawValue, asStringValue
-
Methods inherited from interface org.msgpack.value.NumberValue
toBigInteger, toByte, toDouble, toFloat, toInt, toLong, toShort
-
Methods inherited from interface org.msgpack.value.Value
asExtensionValue, asNumberValue, equals, getValueType, immutableValue, isArrayValue, isBinaryValue, isBooleanValue, isExtensionValue, isFloatValue, isIntegerValue, isMapValue, isNilValue, isNumberValue, isRawValue, isStringValue, toJson, writeTo
-
-