Module java.base
Package java.lang

# Class Boolean

=
public final class Boolean
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<java.lang.Boolean>, java.lang.constant.Constable

## Fields

- =
  public static final java.lang.Boolean FALSE
- =
  public static final java.lang.Boolean TRUE
- =
  public static final java.lang.Class<java.lang.Boolean> TYPE

## Constructors

- =
  @Deprecated(since="9"forRemoval=true)
  public Boolean(boolean arg0)
- =
  @Deprecated(since="9"forRemoval=true)
  public Boolean(java.lang.String arg0)

## Methods

- =
  public boolean booleanValue()
- =
  public static int compare(boolean arg0, boolean arg1)
- =
  public int compareTo(java.lang.Boolean arg0)
- =
  public java.util.Optional<java.lang.constant.DynamicConstantDesc<java.lang.Boolean>> describeConstable()
- =
  public boolean equals(java.lang.Object arg0)
- =
  public static boolean getBoolean(java.lang.String arg0)
- =
  public int hashCode()
- =
  public static int hashCode(boolean arg0)
- =
  public static boolean logicalAnd(boolean arg0, boolean arg1)
- =
  public static boolean logicalOr(boolean arg0, boolean arg1)
- =
  public static boolean logicalXor(boolean arg0, boolean arg1)
- =
  public static boolean parseBoolean(java.lang.String arg0)
- =
  public java.lang.String toString()
- =
  public static java.lang.String toString(boolean arg0)
- =
  public static java.lang.Boolean valueOf(boolean arg0)
- =
  public static java.lang.Boolean valueOf(java.lang.String arg0)

## Serialized Form

=

### serialVersionUID

=-3665804199014368530

### Serialized Fields

- =
  boolean value

## Summary

No differences.