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, writeasReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, indent, read, read, toByteArray, writepublic 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()
IntegerParameterlonggetValue in interface IntegerParameterpublic void setValue(long val)
IntegerParametersetValue in interface IntegerParameterpublic boolean equals(java.lang.Object obj)
ParameterParameter 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()
ParametergetDebugInfo in class DelegatingParameterpublic java.lang.String toString()
toString in class DelegatingParameterpublic java.lang.Long toLong()