Class LuaInteger

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public class LuaInteger extends LuaNumber implements com.esotericsoftware.kryo.KryoSerializable
Extension of LuaNumber which can hold a Java int as its value.

These instance are not instantiated directly by clients, but indirectly via the static functions LuaValue.valueOf(int) or LuaValue.valueOf(double) functions. This ensures that policies regarding pooling of instances are encapsulated.

There are no API's specific to LuaInteger that are useful beyond what is already exposed in LuaValue.

See Also: