Enum Class LlamaTokenType

java.lang.Object
java.lang.Enum<LlamaTokenType>
chat.octet.model.beans.LlamaTokenType
All Implemented Interfaces:
Serializable, Comparable<LlamaTokenType>, java.lang.constant.Constable

public enum LlamaTokenType extends Enum<LlamaTokenType>
Llama token type define
Author:
William
  • Enum Constant Details

    • LLAMA_TOKEN_TYPE_UNDEFINED

      public static final LlamaTokenType LLAMA_TOKEN_TYPE_UNDEFINED
      Undefined type.
    • LLAMA_TOKEN_TYPE_NORMAL

      public static final LlamaTokenType LLAMA_TOKEN_TYPE_NORMAL
      Normal type.
    • LLAMA_TOKEN_TYPE_UNKNOWN

      public static final LlamaTokenType LLAMA_TOKEN_TYPE_UNKNOWN
      Unknown type.
    • LLAMA_TOKEN_TYPE_CONTROL

      public static final LlamaTokenType LLAMA_TOKEN_TYPE_CONTROL
      Control type.
    • LLAMA_TOKEN_TYPE_USER_DEFINED

      public static final LlamaTokenType LLAMA_TOKEN_TYPE_USER_DEFINED
      User defined type.
    • LLAMA_TOKEN_TYPE_UNUSED

      public static final LlamaTokenType LLAMA_TOKEN_TYPE_UNUSED
      Unused type.
    • LLAMA_TOKEN_TYPE_BYTE

      public static final LlamaTokenType LLAMA_TOKEN_TYPE_BYTE
      Byte type.
  • Method Details

    • values

      public static LlamaTokenType[] 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

      public static LlamaTokenType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOfType

      public static LlamaTokenType valueOfType(int type)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LlamaTokenType>