public class Bool extends DelegatingParameter
bool
(boolean) value and type.Modifier and Type | Field and Description |
---|---|
static Bool |
FALSE
false bool value. |
static Bool |
TRUE
true bool value. |
LICENSE_TYPE, V
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
acceptIOPerformer, getDataBuffer, getDataBufferOffset, getLength, getValueObject, pop, push, read, setDataBuffer, setValueObject, write
asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, indent, read, read, toByteArray, write
public static final Bool FALSE
false
bool
value.public static final Bool TRUE
true
bool
value.public Bool()
false
value.public Bool(boolean value)
public Bool(Bool that)
Bool
object.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.
public java.lang.String getDebugInfo()
Parameter
getDebugInfo
in class DelegatingParameter
public java.lang.String toString()
toString
in class DelegatingParameter
public void setValue(boolean value)
public boolean getValue()