-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum ValueTypeRepresentation of MessagePack types.
MessagePack uses hierarchical type system. Integer and Float are subypte of Number, Thus isNumberType returns true if type is Integer or Float. String and Binary are subtype of Raw. Thus isRawType returns true if type is String or Binary.
-
-
Method Summary
Modifier and Type Method Description booleanisNilType()booleanisBooleanType()booleanisNumberType()booleanisIntegerType()booleanisFloatType()booleanisRawType()booleanisStringType()booleanisBinaryType()booleanisArrayType()booleanisMapType()booleanisExtensionType()static Array<ValueType>values()static ValueTypevalueOf(String name)-
-
Method Detail
-
isNilType
boolean isNilType()
-
isBooleanType
boolean isBooleanType()
-
isNumberType
boolean isNumberType()
-
isIntegerType
boolean isIntegerType()
-
isFloatType
boolean isFloatType()
-
isRawType
boolean isRawType()
-
isStringType
boolean isStringType()
-
isBinaryType
boolean isBinaryType()
-
isArrayType
boolean isArrayType()
-
isMapType
boolean isMapType()
-
isExtensionType
boolean isExtensionType()
-
-
-
-