public final class BooleanMethods
extends org.apache.commons.lang3.BooleanUtils
boolean
primitives and Boolean
objects.Modifier and Type | Method and Description |
---|---|
static boolean |
toBoolean(Object bool)
Return the boolean equivalent of the provided object.
|
and, and, compare, isFalse, isNotFalse, isNotTrue, isTrue, negate, or, or, toBoolean, toBoolean, toBoolean, toBoolean, toBoolean, toBoolean, toBooleanDefaultIfNull, toBooleanObject, toBooleanObject, toBooleanObject, toBooleanObject, toBooleanObject, toBooleanObject, toInteger, toInteger, toInteger, toIntegerObject, toIntegerObject, toIntegerObject, toIntegerObject, toString, toString, toStringOnOff, toStringOnOff, toStringTrueFalse, toStringTrueFalse, toStringYesNo, toStringYesNo, xor, xor
public static boolean toBoolean(Object bool)
Return the boolean equivalent of the provided object.
bool
- the object to convert to a boolean valueCopyright © 2021. All rights reserved.