/[classpath]/classpath/java/lang/Class.java
ViewVC logotype

Diff of /classpath/java/lang/Class.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22.2.6 by gnu_andrew, Mon Jan 10 18:25:47 2005 UTC revision 1.22.2.7 by gnu_andrew, Thu Jan 13 22:40:38 2005 UTC
# Line 852  public final class Class<T> implements S Line 852  public final class Class<T> implements S
852        
853    /**    /**
854     * Get the name of this class, separated by dots for package separators.     * Get the name of this class, separated by dots for package separators.
855     * Primitive types and arrays are encoded as:     * If the class represents a primitive type, or void, then the
856       * name of the type as it appears in the Java programming language
857       * is returned.  For instance, <code>Byte.TYPE.getName()</code>
858       * returns "byte".
859       *
860       * Arrays are specially encoded as shown on this table.
861     * <pre>     * <pre>
862       * array type          [<em>element type</em>
863       *                     (note that the element type is encoded per
864       *                      this table)
865     * boolean             Z     * boolean             Z
866     * byte                B     * byte                B
867     * char                C     * char                C
# Line 863  public final class Class<T> implements S Line 871  public final class Class<T> implements S
871     * float               F     * float               F
872     * double              D     * double              D
873     * void                V     * void                V
    * array type          [<em>element type</em>  
874     * class or interface, alone: &lt;dotted name&gt;     * class or interface, alone: &lt;dotted name&gt;
875     * class or interface, as element type: L&lt;dotted name&gt;;     * class or interface, as element type: L&lt;dotted name&gt;;
876     * </pre>     * </pre>

Legend:
Removed from v.1.22.2.6  
changed lines
  Added in v.1.22.2.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26