public class ShortInt extends DelegatingParameter
short
value.LICENSE_TYPE, V
Constructor and Description |
---|
ShortInt()
Constructs a new
short parameter. |
ShortInt(IntegerParameter t)
Constructs a new
short parameter. |
ShortInt(long val)
Constructs a new
short parameter. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj)
Compares this
Parameter object to a given object. |
java.lang.String |
getDebugInfo()
Return debug info for JNIWrapper parameter.
|
long |
getValue()
Returns an integer value converted to
long |
int |
hashCode() |
void |
setValue(long val)
Sets an integer value.
|
java.lang.Long |
toLong() |
java.lang.String |
toString() |
acceptIOPerformer, getDataBuffer, getDataBufferOffset, getLength, getValueObject, pop, push, read, setDataBuffer, setValueObject, write
asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, indent, read, read, toByteArray, write
public ShortInt()
short
parameter.public ShortInt(long val)
short
parameter.val
- the initial value.public ShortInt(IntegerParameter t)
short
parameter.t
- a parameter to take the initial value from.public java.lang.Object clone()
public long getValue()
IntegerParameter
long
getValue
in interface IntegerParameter
public void setValue(long val)
IntegerParameter
setValue
in interface IntegerParameter
public boolean equals(java.lang.Object obj)
Parameter
Parameter
object to a given object. Two
Parameter
objects are considered equal if their byte
representations are equal and they are of the same type. Subclasses may
override this method as appropriate.public java.lang.String getDebugInfo()
Parameter
getDebugInfo
in class DelegatingParameter
public java.lang.String toString()
toString
in class DelegatingParameter
public java.lang.Long toLong()