|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jniwrapper.Parameter
|
+--com.jniwrapper.AbstractInteger
|
+--com.jniwrapper.Int64
Represents 64-bit integer value and type.
| Constructor Summary | |
Int64()
Constructs a new 64-bit integer parameter. |
|
Int64(IntegerParameter value)
Constructs a new 64-bit integer parameter. |
|
Int64(long value)
Constructs a new 64-bit integer parameter. |
|
| Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
Compares two instances as IntegerParameter by their value. |
int |
getLength()
Returns a length of the parameter in memory. |
long |
getValue()
Returns integer value converted to long |
void |
read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Reads this parameter from a specified data source. |
void |
setValue(long val)
Sets 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. |
| Methods inherited from class com.jniwrapper.Parameter |
acceptIOPerformer, asReturnValue, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, setDataBuffer, toByteArray, write |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Int64()
public Int64(long value)
value - initial value.public Int64(IntegerParameter value)
value - parameter to take the initial value from.| Method Detail |
public int getLength()
Parametersizeof() operator.
getLength in class Parameterpublic java.lang.Object clone()
clone in class Parameterpublic long getValue()
IntegerParameterlong
public void setValue(long val)
IntegerParameter
public void write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
throws MemoryAccessViolationException
Parameter
write in class ParameterMemoryAccessViolationException
public void read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
throws MemoryAccessViolationException
Parameter
read in class ParameterMemoryAccessViolationExceptionpublic boolean equals(java.lang.Object obj)
IntegerParameter by their value.
equals in class Parameterobj - value to compare this object to.
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Long toLong()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||