com.jniwrapper
Class IntBool
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.DelegatingParameter
com.jniwrapper.Int
com.jniwrapper.IntBool
- All Implemented Interfaces:
- IntegerParameter
public class IntBool
- extends Int
This class represents four bytes boolean type.
This type corresponds to BOOL
native type.
Methods inherited from class com.jniwrapper.DelegatingParameter |
acceptIOPerformer, getDataBuffer, getDataBufferOffset, getLength, getValueObject, pop, push, read, setDataBuffer, setValueObject, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
IntBool
public IntBool()
IntBool
public IntBool(boolean value)
getBooleanValue
public boolean getBooleanValue()
setBooleanValue
public void setBooleanValue(boolean value)
toString
public java.lang.String toString()
clone
public java.lang.Object clone()
- Overrides:
clone
in class Int
getValue
public long getValue()
- Description copied from interface:
IntegerParameter
- Returns an integer value converted to
long
- Specified by:
getValue
in interface IntegerParameter
setValue
public void setValue(long val)
- Description copied from interface:
IntegerParameter
- Sets an integer value.
- Specified by:
setValue
in interface IntegerParameter
equals
public boolean equals(java.lang.Object obj)
- Description copied from class:
Parameter
- Compares this
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.
- Overrides:
equals
in class Parameter
- Parameters:
obj
- a value to compare this object to.
- Returns:
true
if two objects are equal.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Parameter
getDebugInfo
public java.lang.String getDebugInfo()
- Description copied from class:
Parameter
- Return debug info for JNIWrapper parameter.
- Overrides:
getDebugInfo
in class DelegatingParameter
- Returns:
- debug info
toLong
public java.lang.Long toLong()