public class BooleanUtilities extends Object
Boolean
objects.Modifier and Type | Method and Description |
---|---|
static Boolean |
valueOf(boolean b)
Returns the object equivalent of the boolean primitive.
|
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
.Copyright © 2001–2018 JFree.org. All rights reserved.