Boolean (Java Platform SE 7 ) (original) (raw)


public final class Boolean
extends Object
implements Serializable, Comparable<Boolean>
The Boolean class wraps a value of the primitive typeboolean in an object. An object of typeBoolean contains a single field whose type isboolean.
In addition, this class provides many methods for converting a boolean to a String and aString to a boolean, as well as other constants and methods useful when dealing with aboolean.
Since:
JDK1.0
See Also:
Serialized Form

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.