Class CreateLuaTable
java.lang.Object
com.simibubi.create.compat.computercraft.implementation.CreateLuaTable
- All Implemented Interfaces:
dan200.computercraft.api.lua.LuaTable<Object,,Object> Map<Object,Object>
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanentrySet()booleangetBoolean(String key) getMap()getOptBoolean(String key) booleanisEmpty()keySet()@Nullable ObjectvoidputBoolean(String key, boolean value) voidvoidvoidputTable(int i, CreateLuaTable value) voidputTable(String key, CreateLuaTable value) intsize()@NotNull Collection<Object> values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dan200.computercraft.api.lua.LuaTable
clear, getBoolean, getDouble, getDouble, getFiniteDouble, getFiniteDouble, getInt, getInt, getLong, getLong, getString, getTable, length, optBoolean, optBoolean, optDouble, optDouble, optFiniteDouble, optFiniteDouble, optInt, optInt, optLong, optLong, optString, optString, optTable, optTable, putAll, removeMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
CreateLuaTable
public CreateLuaTable() -
CreateLuaTable
-
-
Method Details
-
getBoolean
-
getString
-
getTable
-
getOptBoolean
- Throws:
dan200.computercraft.api.lua.LuaException
-
stringKeySet
- Throws:
dan200.computercraft.api.lua.LuaException
-
tableValues
- Throws:
dan200.computercraft.api.lua.LuaException
-
getMap
-
put
-
putBoolean
-
putDouble
-
putString
-
putTable
-
putTable
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<Object,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<Object,Object>
-
get
-
keySet
-
values
-
entrySet
-