|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.DelegatingParameter
com.jniwrapper.UShortInt
public class UShortInt
C-like unsigned short
value.
Field Summary |
---|
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
UShortInt()
Constructs a new unsigned short parameter. |
|
UShortInt(IntegerParameter t)
Constructs a new unsigned short parameter. |
|
UShortInt(long val)
Constructs a new unsigned short parameter. |
Method Summary | |
---|---|
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()
|
Methods inherited from class com.jniwrapper.DelegatingParameter |
---|
acceptIOPerformer, getDataBuffer, getDataBufferOffset, getLength, getValueObject, pop, push, read, setDataBuffer, setValueObject, write |
Methods inherited from class com.jniwrapper.Parameter |
---|
asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, indent, read, read, toByteArray, write |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UShortInt()
unsigned short
parameter.
public UShortInt(long val)
unsigned short
parameter.
val
- the initial value.public UShortInt(IntegerParameter t)
unsigned short
parameter.
t
- a parameter to get initial value from.Method Detail |
---|
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.
equals
in class Parameter
obj
- a value to compare this object to.
true
if two objects are equal.public int hashCode()
hashCode
in class Parameter
public java.lang.String getDebugInfo()
Parameter
getDebugInfo
in class DelegatingParameter
public java.lang.String toString()
toString
in class DelegatingParameter
public java.lang.Long toLong()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |