public class BooleanUtilities extends Object
Boolean
objects.public static Boolean valueOf(boolean b)
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.
b
- the boolean value.Boolean.TRUE
or Boolean.FALSE
.