## Uses of Class
java.lang.Boolean

- Packages that use Boolean
  Package | Description
  --- | ---
  java.lang |

- - ### Uses of Boolean in java.lang

    Fields in java.lang declared as Boolean
    Modifier and Type | Field and Description
    --- | ---
    `static Boolean` | Boolean.`FALSE` The `Boolean` object corresponding to the primitive value `false`.
    `static Boolean` | Boolean.`TRUE` The `Boolean` object corresponding to the primitive value `true`.

    Fields in java.lang with type parameters of type Boolean
    Modifier and Type | Field and Description
    --- | ---
    `static Class<Boolean>` | Boolean.`TYPE` The Class object representing the primitive type boolean.

    Methods in java.lang that return Boolean
    Modifier and Type | Method and Description
    --- | ---
    `static Boolean` | Boolean.`valueOf(boolean b)` Returns a `Boolean` instance representing the specified `boolean` value.
    `static Boolean` | Boolean.`valueOf(String s)` Returns a `Boolean` with a value represented by the specified string.

    Methods in java.lang with parameters of type Boolean
    Modifier and Type | Method and Description
    --- | ---
    `int` | Boolean.`compareTo(Boolean b)` Compares this `Boolean` instance with another.

Copyright © 2025 API Design. All Rights Reserved.