|
|||||||||||
| 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.Bool
Represents a bool (boolean) value and type.
| Field Summary | |
static Bool |
FALSE
false bool value. |
static Bool |
TRUE
true bool value. |
| Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
| Constructor Summary | |
Bool()
Constructs an instance with false value. |
|
Bool(Bool that)
Constructs an instance that has the same value as the passed Bool object. |
|
Bool(boolean value)
Constructs an instance with a specified value. |
|
| Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
Compares this object with a passed one. |
java.lang.String |
getDebugInfo()
Return debug info for JNIWrapper parameter. |
boolean |
getValue()
Returns a boolean value. |
int |
hashCode()
|
void |
setValue(boolean value)
Sets a boolean value. |
java.lang.Boolean |
toBoolean()
|
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 |
| Field Detail |
public static final Bool FALSE
false bool value.
public static final Bool TRUE
true bool value.
| Constructor Detail |
public Bool()
false value.
public Bool(boolean value)
public Bool(Bool that)
Bool object.
| Method Detail |
public java.lang.Boolean toBoolean()
public boolean equals(java.lang.Object obj)
Bool, returns true if the values of
both objects are equal.
If the passed object is an instance of IntegerParameter, the
method compares its own state with a non-zero state of the passed
integer. If its own value is true, then the result of the
comparison would be true for non-zero values of the passed
integer argument. If its own value is false, the result
would be true only if the passed integer value is zero.
Otherwise, false would be returned.
equals in class Parameterobj - the object to compare with.
true if two objects represent the same logical
value; otherwise false.public int hashCode()
hashCode in class Parameterpublic java.lang.String getDebugInfo()
Parameter
getDebugInfo in class DelegatingParameterpublic java.lang.String toString()
toString in class DelegatingParameterpublic void setValue(boolean value)
public boolean getValue()
public java.lang.Object clone()
clone in class Parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||