public class BooleanUtils extends Object
| Constructor and Description |
|---|
BooleanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isFalse(Boolean bool) |
static boolean |
isNotFalse(Boolean bool) |
static boolean |
isNotTrue(Boolean bool) |
static boolean |
isTrue(Boolean bool) |
static Boolean |
negate(Boolean bool) |
static boolean |
toBoolean(Boolean bool) |
static boolean |
toBoolean(int value) |
static boolean |
toBoolean(Integer value,
Integer trueValue,
Integer falseValue) |
static boolean |
toBoolean(int value,
int trueValue,
int falseValue) |
static boolean |
toBoolean(String str) |
static boolean |
toBoolean(String str,
String trueString,
String falseString) |
static boolean |
toBooleanDefaultIfNull(Boolean bool,
boolean valueIfNull) |
static Boolean |
toBooleanObject(boolean bool) |
static Boolean |
toBooleanObject(int value) |
static Boolean |
toBooleanObject(Integer value) |
static Boolean |
toBooleanObject(Integer value,
Integer trueValue,
Integer falseValue,
Integer nullValue) |
static Boolean |
toBooleanObject(int value,
int trueValue,
int falseValue,
int nullValue) |
static Boolean |
toBooleanObject(String str) |
static Boolean |
toBooleanObject(String str,
String trueString,
String falseString,
String nullString) |
static int |
toInteger(boolean bool) |
static int |
toInteger(boolean bool,
int trueValue,
int falseValue) |
static int |
toInteger(Boolean bool,
int trueValue,
int falseValue,
int nullValue) |
static Integer |
toIntegerObject(boolean bool) |
static Integer |
toIntegerObject(Boolean bool) |
static Integer |
toIntegerObject(boolean bool,
Integer trueValue,
Integer falseValue) |
static Integer |
toIntegerObject(Boolean bool,
Integer trueValue,
Integer falseValue,
Integer nullValue) |
static String |
toString(boolean bool,
String trueString,
String falseString) |
static String |
toString(Boolean bool,
String trueString,
String falseString,
String nullString) |
static String |
toStringOnOff(boolean bool) |
static String |
toStringOnOff(Boolean bool) |
static String |
toStringTrueFalse(boolean bool) |
static String |
toStringTrueFalse(Boolean bool) |
static String |
toStringYesNo(boolean bool) |
static String |
toStringYesNo(Boolean bool) |
static boolean |
xor(boolean[] array) |
static Boolean |
xor(Boolean[] array) |
public static boolean isTrue(Boolean bool)
public static boolean isNotTrue(Boolean bool)
public static boolean isFalse(Boolean bool)
public static boolean isNotFalse(Boolean bool)
public static Boolean toBooleanObject(boolean bool)
public static boolean toBoolean(Boolean bool)
public static boolean toBooleanDefaultIfNull(Boolean bool, boolean valueIfNull)
public static boolean toBoolean(int value)
public static Boolean toBooleanObject(int value)
public static boolean toBoolean(int value,
int trueValue,
int falseValue)
public static Boolean toBooleanObject(int value, int trueValue, int falseValue, int nullValue)
public static Boolean toBooleanObject(Integer value, Integer trueValue, Integer falseValue, Integer nullValue)
public static int toInteger(boolean bool)
public static Integer toIntegerObject(boolean bool)
public static int toInteger(boolean bool,
int trueValue,
int falseValue)
public static int toInteger(Boolean bool, int trueValue, int falseValue, int nullValue)
public static Integer toIntegerObject(boolean bool, Integer trueValue, Integer falseValue)
public static Integer toIntegerObject(Boolean bool, Integer trueValue, Integer falseValue, Integer nullValue)
public static Boolean toBooleanObject(String str, String trueString, String falseString, String nullString)
public static boolean toBoolean(String str)
public static String toString(Boolean bool, String trueString, String falseString, String nullString)
public static String toStringTrueFalse(boolean bool)
public static String toStringOnOff(boolean bool)
public static String toStringYesNo(boolean bool)
public static boolean xor(boolean[] array)
Copyright © 2016 jufeng. All rights reserved.