boolean
. Integer is considered true
if it is different from 0. Double is considered true
if it is different from 0.0. String is considered true
if it contains "true"
, "on"
, "yes"
or "1"
.
@return Value as boolean or false if it can't be transformed.
boolean
represented by this character array.
@return the corresponding boolean
value.
@throws NumberFormatException if this character sequencedoes not contain a parsable boolean
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|