public class BOOLEAN extends AbstractData
BOOLEAN
class represents the BOOLEAN type.Constructor and Description |
---|
BOOLEAN()
The default constructor.
|
BOOLEAN(boolean value)
Constructs the
BOOLEAN object with the specified boolean value. |
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue()
Gets the value of
this object as a boolean . |
boolean |
equals(java.lang.Object that)
Compares this object to another
BOOLEAN to see if they are equal. |
int |
hashCode()
Returns a hash code value for the object.
|
void |
setValue(boolean value)
Sets the value of
this object to the specified boolean value. |
clone
public BOOLEAN()
BOOLEAN
to the default value (false
).public BOOLEAN(boolean value)
BOOLEAN
object with the specified boolean
value.value
- specifies the new value.public final void setValue(boolean value)
this
object to the specified boolean
value.value
- specifies the new value.public final boolean booleanValue()
this
object as a boolean
.boolean
value of 'this' object.public boolean equals(java.lang.Object that)
BOOLEAN
to see if they are equal. Two BOOLEAN
objects are considered equal if and only if they have identical boolean
values.equals
in class java.lang.Object
that
- the BOOLEAN
object to be compared to.public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2023 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.