com.smardec.j2native
Class Const
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.DelegatedArgument
|
+--com.smardec.j2native.Const
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Const
- extends DelegatedArgument
Const
class represents a read-only argument. It is a wrapper
for an instance of a real Argument
object.
Constructor Summary |
Const(Argument refArgument)
Constructs the Const object by wrapping a specified
Argument 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 com.smardec.j2native.DelegatedArgument |
finalize, free, fromBytesValue, getAlignedLength, getInternalValue, getLength, isFixedLength, readFromRAM, restoreFromRAM, setInternalValue, storeToRAM, toBytesValue, toBytesValue, write, writeToRAM, writeToStack |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Const
public Const(Argument refArgument)
- Constructs the
Const
object by wrapping a specified
Argument
object.
- Parameters:
refArgument
- argument to wrap
read
protected void read(long handle,
int offset)
- do nothing
- Overrides:
read
in class DelegatedArgument
- Parameters:
handle
- identifies location in memory from which Argument
will be readoffset
- memory address offset
readFromStack
protected void readFromStack(byte[] stack,
int offset)
- do nothing
- Overrides:
readFromStack
in class DelegatedArgument
- Parameters:
stack
- it's byte array, from which Argument
will be restoredoffset
- offset in stack
Copyright © 2004-2006 Smardec. All Rights Reserved.