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

Diff of /classpath/java/lang/Enum.java

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

revision 1.1.2.1 by tromey, Sat Aug 7 20:07:55 2004 UTC revision 1.1.2.2 by tromey, Sun Aug 8 06:38:26 2004 UTC
# Line 52  public abstract class Enum<T extends Enu Line 52  public abstract class Enum<T extends Enu
52      this.ordinal = ordinal;      this.ordinal = ordinal;
53    }    }
54    
55    <S extends Enum<S>> public static Enum valueOf(Class<S> etype, String s)    public static <S extends Enum<S>> Enum valueOf(Class<S> etype, String s)
56    {    {
57      if (etype == null || s == null)      if (etype == null || s == null)
58        throw new NullPointerException();        throw new NullPointerException();

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

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