Interface State.Item

Enclosing class:
State

public static interface State.Item
An item in the state.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the value as boolean.
    int
    Returns the value as int.
    Returns the name of the item.
    Returns the value as string.
  • Method Details

    • getName

      @Nonnull String getName()
      Returns the name of the item.
      Returns:
      the name of the item
    • getString

      @Nonnull String getString()
      Returns the value as string.
      Returns:
      the value as string
    • getBoolean

      boolean getBoolean()
      Returns the value as boolean. The conversion is following Boolean.parseBoolean(String) semantic.
      Returns:
      the value as boolean
    • getInt

      int getInt() throws NumberFormatException
      Returns the value as int. The conversion is following Integer.parseInt(String) semantic.
      Returns:
      the value as int
      Throws:
      NumberFormatException