public class CoerceLuaToJava extends Object
This class is primarily used by the LuajavaLib,
but can also be used directly when working with Java/lua bindings.
To coerce to specific Java values, generally the toType() methods
on LuaValue may be used:
LuaValue.toboolean()LuaValue.tobyte()LuaValue.tochar()LuaValue.toshort()LuaValue.toint()LuaValue.tofloat()LuaValue.todouble()LuaValue.tojstring()LuaValue.touserdata()LuaValue.touserdata(Class)
For data in lua tables, the various methods on LuaTable can be used directly
to convert data to something more useful.
LuajavaLib,
CoerceJavaToLuaCopyright © 2020. All rights reserved.