| Modifier and Type | Field and Description |
|---|---|
static BBoolean |
FALSE
The
BBoolean object corresponding to the primitive. |
static BBoolean |
TRUE
The
BBoolean object corresponding to the primitive. |
| Constructor and Description |
|---|
BBoolean(boolean value) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
blobValue() |
boolean |
booleanValue() |
BValue |
copy()
Deep copy
BValue. |
boolean |
equals(Object o) |
double |
floatValue()
Returns the value of the specified number as a
float,
which may involve rounding. |
BType |
getType() |
int |
hashCode() |
long |
intValue()
Returns the value of the specified number as an
int,
which may involve rounding or truncation. |
String |
stringValue() |
Boolean |
value() |
toStringpublic static final BBoolean TRUE
BBoolean object corresponding to the primitive.
value true.public static final BBoolean FALSE
BBoolean object corresponding to the primitive.
value true.public long intValue()
BValueTypeint,
which may involve rounding or truncation.intValue in class BValueTypeint.public double floatValue()
BValueTypefloat,
which may involve rounding.floatValue in class BValueTypefloat.public boolean booleanValue()
booleanValue in class BValueTypepublic byte[] blobValue()
blobValue in class BValueTypepublic String stringValue()
stringValue in interface BValueCopyright © 2018 WSO2. All rights reserved.