Package se.krka.kahlua.vm
Class KahluaArray
java.lang.Object
se.krka.kahlua.vm.KahluaArray
- All Implemented Interfaces:
KahluaTable
public class KahluaArray extends java.lang.Object implements KahluaTable
-
Constructor Summary
Constructors Constructor Description KahluaArray()
-
Method Summary
Modifier and Type Method Description java.lang.Class
getJavaClass()
KahluaTable
getMetatable()
java.lang.String
getString(java.lang.String string)
boolean
isEmpty()
KahluaTableIterator
iterator()
int
len()
void
load(java.io.DataInputStream input, int WorldVersion)
void
load(java.nio.ByteBuffer input, int WorldVersion)
java.lang.Object
next(java.lang.Object key)
java.lang.Object
rawget(int index)
java.lang.Object
rawget(java.lang.Object key)
void
rawset(int index, java.lang.Object value)
void
rawset(java.lang.Object key, java.lang.Object value)
void
save(java.io.DataOutputStream output)
void
save(java.nio.ByteBuffer output)
void
setMetatable(KahluaTable metatable)
int
size()
void
wipe()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
KahluaArray
public KahluaArray()
-
-
Method Details
-
getString
public java.lang.String getString(java.lang.String string)- Specified by:
getString
in interfaceKahluaTable
-
size
public int size()- Specified by:
size
in interfaceKahluaTable
-
len
public int len()- Specified by:
len
in interfaceKahluaTable
-
iterator
- Specified by:
iterator
in interfaceKahluaTable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceKahluaTable
-
wipe
public void wipe()- Specified by:
wipe
in interfaceKahluaTable
-
rawget
public java.lang.Object rawget(int index)- Specified by:
rawget
in interfaceKahluaTable
-
rawset
public void rawset(int index, java.lang.Object value)- Specified by:
rawset
in interfaceKahluaTable
-
rawget
public java.lang.Object rawget(java.lang.Object key)- Specified by:
rawget
in interfaceKahluaTable
-
rawset
public void rawset(java.lang.Object key, java.lang.Object value)- Specified by:
rawset
in interfaceKahluaTable
-
next
public java.lang.Object next(java.lang.Object key) -
getMetatable
- Specified by:
getMetatable
in interfaceKahluaTable
-
setMetatable
- Specified by:
setMetatable
in interfaceKahluaTable
-
getJavaClass
public java.lang.Class getJavaClass() -
save
public void save(java.nio.ByteBuffer output)- Specified by:
save
in interfaceKahluaTable
-
load
public void load(java.nio.ByteBuffer input, int WorldVersion)- Specified by:
load
in interfaceKahluaTable
-
save
public void save(java.io.DataOutputStream output) throws java.io.IOException- Specified by:
save
in interfaceKahluaTable
- Throws:
java.io.IOException
-
load
public void load(java.io.DataInputStream input, int WorldVersion) throws java.io.IOException- Specified by:
load
in interfaceKahluaTable
- Throws:
java.io.IOException
-