public class NativeIntAccess extends Object
Constructor and Description |
---|
NativeIntAccess()
Default Constructor (size=1)
|
NativeIntAccess(int size)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose the object
|
int |
getAddress() |
int |
getAddress(int index) |
int |
getInt() |
int |
getInt(int index) |
void |
setInt(int value)
Set native integer value at index 0
|
void |
setInt(int index,
int value)
Set native integer value at target index
|
public NativeIntAccess()
public NativeIntAccess(int size)
size
- array sizepublic void dispose()
public int getAddress()
public int getAddress(int index)
index
- target indexpublic int getInt()
public int getInt(int index)
index
- target indexpublic void setInt(int value)
value
- target valuepublic void setInt(int index, int value)
index
- target indexvalue
- target value