|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.cldc.jna.PointerType
com.sun.cldc.jna.ptr.ByReference
com.sun.cldc.jna.ptr.IntByReference
public class IntByReference
Represents a pointer to a 32-bit integer. Why this would be needed I'm not quite sure. At any rate, in the simulator this mostly just wraps an int and throws exceptions on occasion.
| Field Summary | |
|---|---|
protected int |
m_value
|
| Constructor Summary | |
|---|---|
IntByReference(int value)
|
|
| Method Summary | |
|---|---|
void |
free()
|
int |
getValue()
|
void |
setValue(int newValue)
|
| Methods inherited from class com.sun.cldc.jna.PointerType |
|---|
getPointer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int m_value
| Constructor Detail |
|---|
public IntByReference(int value)
| Method Detail |
|---|
public int getValue()
public void setValue(int newValue)
public void free()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||