/[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 by jfrijters, Tue Jul 27 07:28:01 2004 UTC revision 1.23 by tromey, Tue Aug 17 03:15:19 2004 UTC
# Line 851  public final class Class implements Seri Line 851  public final class Class implements Seri
851        
852    /**    /**
853     * Get the name of this class, separated by dots for package separators.     * Get the name of this class, separated by dots for package separators.
854     * Primitive types and arrays are encoded as:     * If the class represents a primitive type, or void, then the
855       * name of the type as it appears in the Java programming language
856       * is returned.  For instance, <code>Byte.TYPE.getName()</code>
857       * returns "byte".
858       *
859       * Arrays are specially encoded as shown on this table.
860     * <pre>     * <pre>
861       * array type          [<em>element type</em>
862       *                     (note that the element type is encoded per
863       *                      this table)
864     * boolean             Z     * boolean             Z
865     * byte                B     * byte                B
866     * char                C     * char                C
# Line 862  public final class Class implements Seri Line 870  public final class Class implements Seri
870     * float               F     * float               F
871     * double              D     * double              D
872     * void                V     * void                V
    * array type          [<em>element type</em>  
873     * class or interface, alone: &lt;dotted name&gt;     * class or interface, alone: &lt;dotted name&gt;
874     * class or interface, as element type: L&lt;dotted name&gt;;     * class or interface, as element type: L&lt;dotted name&gt;;
875     * </pre>     * </pre>

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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