| Modifier and Type | Method and Description |
|---|---|
static boolean |
toBoolean(Boolean value)
Converts a Boolean to a boolean handling
null by returning false |
public static boolean toBoolean(Boolean value)
Converts a Boolean to a boolean handling null by returning false
BooleanUtils.toBoolean(Boolean.TRUE) = true BooleanUtils.toBoolean(Boolean.FALSE) = false BooleanUtils.toBoolean(null) = false
value - the boolean to converttrue or false, null returns falseCopyright © 2014-2016 Konik.io. All Rights Reserved.