/** * Returns a table-like Lua value for the specified list. The returned value corresponds to the * return value of the <code>totable()</code> function provided by this Java module. * * @param list the list * @return the table-like Lua value */ public TypedJavaObject toTable(List<?> list) { return ToTable.toTable(list); }
/** * Returns a table-like Lua value for the specified map. The returned value corresponds to the * return value of the <code>totable()</code> function provided by this Java module. * * @param map the map * @return the table-like Lua value */ public TypedJavaObject toTable(Map<?, ?> map) { return ToTable.toTable(map); }