- toBoolean
Converts a String to a Boolean throwing an exception if no match found.
BooleanUtils.toBoolean("t
- isTrue
Checks if a Boolean value is true, handling null by returning false.
BooleanUtils.isTrue(Boolean.
- toBooleanObject
Converts a String to a Boolean throwing an exception if no match.
NOTE: This returns null and will
- isFalse
Checks if a Boolean value is false, handling null by returning false.
BooleanUtils.isFalse(Boolea
- isNotTrue
Checks if a Boolean value is not true, handling null by returning true.
BooleanUtils.isNotTrue(Bo
- toStringTrueFalse
Converts a boolean to a String returning 'true'or 'false'.
BooleanUtils.toStringTrueFalse(true)
- toBooleanDefaultIfNull
Converts a Boolean to a boolean handling null.
BooleanUtils.toBooleanDefaultIfNull(Boolean.TRUE,
- toString
Converts a boolean to a String returning one of the input Strings.
BooleanUtils.toString(true, "t
- isNotFalse
Checks if a Boolean value is not false, handling null by returning true.
BooleanUtils.isNotFalse(
- or
Performs an or on a set of booleans.
BooleanUtils.or(true, true) = true
BooleanUtils.or
- and
Performs an and on a set of booleans.
BooleanUtils.and(true, true) = true
BooleanUtils.a
- toStringYesNo
Converts a boolean to a String returning 'yes'or 'no'.
BooleanUtils.toStringYesNo(true) = "yes"