com.jniwrapper
Class IntBool

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.DelegatingParameter
          extended by com.jniwrapper.Int
              extended by 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.


Field Summary
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
IntBool()
           
IntBool(boolean value)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object obj)
          Compares this Parameter object to a given object.
 boolean getBooleanValue()
           
 java.lang.String getDebugInfo()
          Return debug info for JNIWrapper parameter.
 long getValue()
          Returns an integer value converted to long
 int hashCode()
           
 void setBooleanValue(boolean value)
           
 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

IntBool

public IntBool()

IntBool

public IntBool(boolean value)
Method Detail

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()