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 |
---|---|
boolean |
booleanValue() |
byte |
byteValue()
Returns the value of the specified number as an
byte ,
which may involve rounding or truncation. |
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() |
toString
public 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()
BValueType
int
,
which may involve rounding or truncation.intValue
in class BValueType
int
.public byte byteValue()
BValueType
byte
,
which may involve rounding or truncation.byteValue
in class BValueType
byte
.public double floatValue()
BValueType
float
,
which may involve rounding.floatValue
in class BValueType
float
.public boolean booleanValue()
booleanValue
in class BValueType
public String stringValue()
stringValue
in interface BValue
Copyright © 2018 WSO2. All rights reserved.