Package io.toro.martini
Class BooleanMethods
- java.lang.Object
-
- org.apache.commons.lang3.BooleanUtils
-
- io.toro.martini.BooleanMethods
-
public final class BooleanMethods extends BooleanUtils
Contains methods for manipulatingboolean
primitives andBoolean
objects.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
toBoolean(Object bool)
Return the boolean equivalent of the provided object.-
Methods inherited from class org.apache.commons.lang3.BooleanUtils
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
-
-
-
-
Method Detail
-
toBoolean
public static boolean toBoolean(Object bool)
Return the boolean equivalent of the provided object.
- Parameters:
bool
- the object to convert to a boolean value- Returns:
- the boolean value of the provided object
- Since:
- 1.0
-
-