8341064: Define anchor point and index term for "wrapper classes"

Reviewed-by: prappo, liach
This commit is contained in:
Joe Darcy 2024-09-30 16:13:35 +00:00
parent 4168faf54c
commit 5586f83e34
10 changed files with 67 additions and 56 deletions

View file

@ -45,9 +45,10 @@ import static java.lang.String.LATIN1;
import static java.lang.String.UTF16;
/**
* The {@code Integer} class wraps a value of the primitive type
* {@code int} in an object. An object of type {@code Integer}
* contains a single field whose type is {@code int}.
* The {@code Integer} class is the {@linkplain
* java.lang##wrapperClass wrapper class} for values of the primitive
* type {@code int}. An object of type {@code Integer} contains a
* single field whose type is {@code int}.
*
* <p>In addition, this class provides several methods for converting
* an {@code int} to a {@code String} and a {@code String} to an