Package org.jfree.util
Class BooleanUtilities
- java.lang.Object
-
- org.jfree.util.BooleanUtilities
-
public class BooleanUtilities extends java.lang.ObjectUtility methods for working withBooleanobjects.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateBooleanUtilities()Private constructor prevents object creation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.BooleanvalueOf(boolean b)Returns the object equivalent of the boolean primitive.
-
-
-
Method Detail
-
valueOf
public static java.lang.Boolean valueOf(boolean b)
Returns the object equivalent of the boolean primitive.A similar method is provided by the Boolean class in JDK 1.4, but you can use this one to remain compatible with earlier JDKs.
- Parameters:
b- the boolean value.- Returns:
Boolean.TRUEorBoolean.FALSE.
-
-