com.smardec.j2native
Class Pointer.Const
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.PointerArgument
|
+--com.smardec.j2native.TypedPointer
|
+--com.smardec.j2native.Pointer.Const
- All Implemented Interfaces:
- java.lang.Cloneable, PointerType
- Enclosing class:
- Pointer
- public static final class Pointer.Const
- extends TypedPointer
Class Pointer.Const
represents a pointer to constant object
Constructor Summary |
Pointer.Const(Argument refArgument)
Constructs a new pointer to the given constant object. |
Method Summary |
protected void |
read(long handle,
int offset)
do nothing |
protected void |
readFromStack(byte[] stack,
int offset)
do nothing |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pointer.Const
public Pointer.Const(Argument refArgument)
- Constructs a new pointer to the given constant object. The constructed pointer
is a non-null pointer parameter that points to the given object
- Parameters:
refArgument
- referenced constant object
readFromStack
protected void readFromStack(byte[] stack,
int offset)
- do nothing
- Overrides:
readFromStack
in class TypedPointer
- Parameters:
stack
- it's byte array, from which Argument
will be restoredoffset
- offset in stack
read
protected void read(long handle,
int offset)
- do nothing
- Overrides:
read
in class TypedPointer
- Parameters:
handle
- identifies location in memory from which Argument
will be readoffset
- memory address offset
Copyright © 2004-2006 Smardec. All Rights Reserved.