be.cardon.nativecall
Class NativeObjectArray
java.lang.Object
be.cardon.nativecall.NativeObject
be.cardon.nativecall.NativeObjectArray
public class NativeObjectArray
- extends NativeObject
Wrapper for an array of native object.
This class should be herited.
Constructor Summary |
NativeObjectArray(int nativeObjectLength,
int nbOfElements,
int address)
Creates a new instance of NativeObjectArray |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeObjectArray
public NativeObjectArray(int nativeObjectLength,
int nbOfElements,
int address)
throws NativeCallException
- Creates a new instance of NativeObjectArray
- Throws:
NativeCallException
getElement
public NativeObject getElement(int index)
throws NativeCallException
- Throws:
NativeCallException
getElementAddress
public int getElementAddress(int index)
throws NativeCallException
- Throws:
NativeCallException
getNbOfElements
public int getNbOfElements()
getNativeObjectLength
public int getNativeObjectLength()