< prev index next >
src/java.base/share/classes/java/lang/Class.java
Print this page
*** 722,743 ****
* <p> If this class object represents a class of arrays, then the internal
* form of the name consists of the name of the element type preceded by
* one or more '{@code [}' characters representing the depth of the array
* nesting. The encoding of element type names is as follows:
*
! * <blockquote><table summary="Element types and encodings">
! * <tr><th> Element Type <th> <th> Encoding
! * <tr><td> boolean <td> <td style="text-align:center"> Z
! * <tr><td> byte <td> <td style="text-align:center"> B
! * <tr><td> char <td> <td style="text-align:center"> C
* <tr><td> class or interface
! * <td> <td style="text-align:center"> L<i>classname</i>;
! * <tr><td> double <td> <td style="text-align:center"> D
! * <tr><td> float <td> <td style="text-align:center"> F
! * <tr><td> int <td> <td style="text-align:center"> I
! * <tr><td> long <td> <td style="text-align:center"> J
! * <tr><td> short <td> <td style="text-align:center"> S
* </table></blockquote>
*
* <p> The class or interface name <i>classname</i> is the binary name of
* the class specified above.
*
--- 722,748 ----
* <p> If this class object represents a class of arrays, then the internal
* form of the name consists of the name of the element type preceded by
* one or more '{@code [}' characters representing the depth of the array
* nesting. The encoding of element type names is as follows:
*
! * <blockquote><table>
! * <caption style="display:none">Element types and encodings</caption>
! * <thead>
! * <tr><th style="padding-right:3em;"> Element Type <th> Encoding
! * </thead>
! * <tbody>
! * <tr><td> boolean <td style="text-align:center"> Z
! * <tr><td> byte <td style="text-align:center"> B
! * <tr><td> char <td style="text-align:center"> C
* <tr><td> class or interface
! * <td style="text-align:center"> L<i>classname</i>;
! * <tr><td> double <td style="text-align:center"> D
! * <tr><td> float <td style="text-align:center"> F
! * <tr><td> int <td style="text-align:center"> I
! * <tr><td> long <td style="text-align:center"> J
! * <tr><td> short <td style="text-align:center"> S
! * </tbody>
* </table></blockquote>
*
* <p> The class or interface name <i>classname</i> is the binary name of
* the class specified above.
*
< prev index next >