Enum Class Lua.LuaType

java.lang.Object
java.lang.Enum<Lua.LuaType>
party.iroiro.luajava.Lua.LuaType
All Implemented Interfaces:
Serializable, Comparable<Lua.LuaType>, Constable
Enclosing interface:
Lua

public static enum Lua.LuaType extends Enum<Lua.LuaType>
Lua data types
  • Enum Constant Details

    • BOOLEAN

      public static final Lua.LuaType BOOLEAN
      Boolean type
    • FUNCTION

      public static final Lua.LuaType FUNCTION
      Function type
    • LIGHTUSERDATA

      public static final Lua.LuaType LIGHTUSERDATA
      Light userdata type
    • NIL

      public static final Lua.LuaType NIL
      Nil type
    • NONE

      public static final Lua.LuaType NONE
      None/invalid type
    • NUMBER

      public static final Lua.LuaType NUMBER
      Number type
    • STRING

      public static final Lua.LuaType STRING
      String type
    • TABLE

      public static final Lua.LuaType TABLE
      Table type
    • THREAD

      public static final Lua.LuaType THREAD
      Thread type
    • USERDATA

      public static final Lua.LuaType USERDATA
      Userdata type
  • Method Details

    • values

      public static Lua.LuaType[] 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 Lua.LuaType 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