public class Int32 extends Parameter
LICENSE_TYPE, V| Constructor and Description |
|---|
Int32()
Constructs a new 32-bit integer parameter.
|
Int32(int value)
Constructs a new 32-bit integer parameter.
|
Int32(IntegerParameter value)
Constructs a new instance with the same value as in the passed
IntegerParameter. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj)
Compares two instances as
IntegerParameter by their value. |
java.lang.String |
getDebugInfo()
Return debug info for JNIWrapper parameter.
|
int |
getLength()
Returns the length of the parameter in memory.
|
long |
getValue()
Returns an integer value converted to
long |
int |
hashCode() |
void |
read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Reads this parameter from a specified data source.
|
void |
setValue(long val)
Sets an integer value.
|
java.lang.Long |
toLong() |
java.lang.String |
toString() |
void |
write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes this parameter to a specified data source.
|
acceptIOPerformer, asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, writepublic Int32()
public Int32(int value)
value - initial value.public Int32(IntegerParameter value)
IntegerParameter. Values are converted to the
int type, and values beyond the int range may
lose significant bits.public int getLength()
Parametersizeof() operator.public long getValue()
IntegerParameterlongpublic void setValue(long val)
IntegerParameterpublic void write(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameterwrite in class ParameterMemoryAccessViolationExceptionpublic void read(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameterread in class ParameterMemoryAccessViolationExceptionpublic boolean equals(java.lang.Object obj)
IntegerParameter by their value.public java.lang.Long toLong()
public java.lang.String getDebugInfo()
ParametergetDebugInfo in class Parameterpublic java.lang.String toString()
toString in class java.lang.Object