Package adalid.commons.util
Class BitUtils
- java.lang.Object
-
- adalid.commons.util.BitUtils
-
public class BitUtils extends Object
- Author:
- Jorge Campins
-
-
Constructor Summary
Constructors Constructor Description BitUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BooleangetAsBoolean(Object o)static StringgetAsString(Object o)static StringgetLabel(Boolean b)static StringgetLabel(Boolean b, EnumBitLabelSet bls)static BooleannewBoolean(Object obj)static BooleantoBoolean(Object obj)static booleanvalueOf(char c)static booleanvalueOf(Boolean b)static booleanvalueOf(Boolean b, boolean value)static booleanvalueOf(Character c)static booleanvalueOf(Number n)static booleanvalueOf(Object o)static booleanvalueOf(String s)
-
-
-
Method Detail
-
valueOf
public static boolean valueOf(Boolean b, boolean value)
-
valueOf
public static boolean valueOf(Boolean b)
-
valueOf
public static boolean valueOf(Character c)
-
valueOf
public static boolean valueOf(char c)
-
valueOf
public static boolean valueOf(String s)
-
valueOf
public static boolean valueOf(Number n)
-
valueOf
public static boolean valueOf(Object o)
-
getLabel
public static String getLabel(Boolean b, EnumBitLabelSet bls)
-
-