java.lang.Objectjava.lang.Boolean
All Implemented Interfaces:
Comparable, Serializable
1.0 - | Field Summary | ||
|---|---|---|
| public static final Class<Boolean> | TYPE | The Class object that represents the primitive type {@code boolean}. |
| public static final Boolean | TRUE | The {@code Boolean} object that represents the primitive value {@code true}. |
| public static final Boolean | FALSE | The {@code Boolean} object that represents the primitive value {@code false}. |
| Constructor: |
|---|
|
|
| Method from java.lang.Boolean Summary: |
|---|
| booleanValue, compareTo, equals, getBoolean, hashCode, parseBoolean, toString, toString, valueOf, valueOf |
| Methods from java.lang.Object: |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from java.lang.Boolean Detail: |
|---|
|
|
|
|
|
|
|
|
|
If it is not necessary to get a new {@code Boolean} instance, it is recommended to use this method instead of the constructor, since it returns its static instances, which results in better performance. |