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 dataInputStream, int int1)
void
load(java.nio.ByteBuffer byteBuffer, int int1)
java.lang.Object
next(java.lang.Object object)
java.lang.Object
rawget(int int1)
java.lang.Object
rawget(java.lang.Object object)
void
rawset(int int1, java.lang.Object object)
void
rawset(java.lang.Object object, java.lang.Object object2)
void
save(java.io.DataOutputStream dataOutputStream)
void
save(java.nio.ByteBuffer byteBuffer)
void
setMetatable(KahluaTable kahluaTable)
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 int1)- Specified by:
rawget
in interfaceKahluaTable
-
rawset
public void rawset(int int1, java.lang.Object object)- Specified by:
rawset
in interfaceKahluaTable
-
rawget
public java.lang.Object rawget(java.lang.Object object)- Specified by:
rawget
in interfaceKahluaTable
-
rawset
public void rawset(java.lang.Object object, java.lang.Object object2)- Specified by:
rawset
in interfaceKahluaTable
-
next
public java.lang.Object next(java.lang.Object object) -
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 byteBuffer)- Specified by:
save
in interfaceKahluaTable
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1)- Specified by:
load
in interfaceKahluaTable
-
save
public void save(java.io.DataOutputStream dataOutputStream) throws java.io.IOException- Specified by:
save
in interfaceKahluaTable
- Throws:
java.io.IOException
-
load
public void load(java.io.DataInputStream dataInputStream, int int1) throws java.io.IOException- Specified by:
load
in interfaceKahluaTable
- Throws:
java.io.IOException
-