| Modifier and Type | Method and Description |
|---|---|
static boolean |
parseBoolean(String value)
Parses the supplied String value as a boolean.
|
public static boolean parseBoolean(String value)
Boolean.parseBoolean(String),
this method handles "0"/"1" values.value - String value to parse as a boolean.IllegalArgumentException - When the supplied value is null, empty
or not in the set [0, 1, false, true].Copyright © 2008–2017. All rights reserved.