public class Int extends DelegatingParameter
int
value.LICENSE_TYPE, V
Constructor and Description |
---|
Int()
Constructs a new
int parameter. |
Int(IntegerParameter t)
Constructs a new int parameter with the same value as in the passed
object.
|
Int(long val)
Constructs a new int 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 Int()
int
parameter.public Int(long val)
val
- initial value.public Int(IntegerParameter t)
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()