Enum TokenState

java.lang.Object
java.lang.Enum<TokenState>
org.csveed.token.TokenState
All Implemented Interfaces:
Serializable, Comparable<TokenState>

public enum TokenState extends Enum<TokenState>
The Enum TokenState.
  • Enum Constant Details

    • RESET

      public static final TokenState RESET
      The reset.
    • START

      public static final TokenState START
      The start.
    • PROCESSING

      public static final TokenState PROCESSING
      The processing.
  • Method Details

    • values

      public static TokenState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TokenState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • next

      public TokenState next()
      Next.
      Returns:
      the token state
    • isStart

      public boolean isStart()
      Checks if is start.
      Returns:
      true, if is start
    • isReset

      public boolean isReset()
      Checks if is reset.
      Returns:
      true, if is reset