com.sun.cldc.jna.ptr
Class IntByReference

java.lang.Object
  extended by com.sun.cldc.jna.PointerType
      extended by com.sun.cldc.jna.ptr.ByReference
          extended by com.sun.cldc.jna.ptr.IntByReference

public class IntByReference
extends ByReference

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.

Author:
wolf

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

m_value

protected int m_value
Constructor Detail

IntByReference

public IntByReference(int value)
Method Detail

getValue

public int getValue()

setValue

public void setValue(int newValue)

free

public void free()