Parent Directory | Revision Log | Patch
revision 1.1.2.6 by gnu_andrew, Wed Sep 21 21:32:38 2005 UTC | revision 1.1.2.7 by gnu_andrew, Wed Sep 28 17:50:20 2005 UTC | |
---|---|---|
# | Line 69 public abstract class Enum<T extends Enu | Line 69 public abstract class Enum<T extends Enu |
69 | * the enum etype. | * the enum etype. |
70 | */ | */ |
71 | @SuppressWarnings("unchecked") | @SuppressWarnings("unchecked") |
72 | public static <S extends Enum<S>> Enum valueOf(Class<S> etype, String s) | public static <S extends Enum<S>> S valueOf(Class<S> etype, String s) |
73 | { | { |
74 | if (etype == null || s == null) | if (etype == null || s == null) |
75 | throw new NullPointerException(); | throw new NullPointerException(); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |