Package chat.octet.model.beans
Enum Class LlamaTokenType
- All Implemented Interfaces:
Serializable,Comparable<LlamaTokenType>,java.lang.constant.Constable
Llama token type define
- Author:
- William
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionByte type.Control type.Normal type.Undefined type.Unknown type.Unused type.User defined type. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static LlamaTokenTypeReturns the enum constant of this class with the specified name.static LlamaTokenTypevalueOfType(int type) static LlamaTokenType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LLAMA_TOKEN_TYPE_UNDEFINED
Undefined type. -
LLAMA_TOKEN_TYPE_NORMAL
Normal type. -
LLAMA_TOKEN_TYPE_UNKNOWN
Unknown type. -
LLAMA_TOKEN_TYPE_CONTROL
Control type. -
LLAMA_TOKEN_TYPE_USER_DEFINED
User defined type. -
LLAMA_TOKEN_TYPE_UNUSED
Unused type. -
LLAMA_TOKEN_TYPE_BYTE
Byte type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOfType
-
toString
- Overrides:
toStringin classEnum<LlamaTokenType>
-