Package dev.frostlake.types
Class VariantType
java.lang.Object
dev.frostlake.types.DataType
dev.frostlake.types.VariantType
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatValue(Object value) getCommonType(DataType other) intgetSize()booleanisCompatible(DataType other) parseValue(String value)
-
Field Details
-
VARIANT
-
-
Constructor Details
-
VariantType
public VariantType()
-
-
Method Details
-
parseValue
- Specified by:
parseValuein classDataType
-
formatValue
- Specified by:
formatValuein classDataType
-
isCompatible
- Specified by:
isCompatiblein classDataType
-
getCommonType
- Specified by:
getCommonTypein classDataType
-
getSize
public int getSize()
-