Lines Matching defs:Enum
29 enum Sample {
37 enum Empty {
40 enum Bogus {
44 enum Color {
48 enum MockCloneEnum {
57 * @tests java.lang.Enum#compareTo(java.lang.Enum)
72 * @tests java.lang.Enum#equals(Object)
83 * @tests java.lang.Enum#getDeclaringClass()
90 * @tests java.lang.Enum#hashCode()
97 * @tests java.lang.Enum#name()
104 * @tests java.lang.Enum#ordinal()
113 * @tests java.lang.Enum#toString()
120 * @tests java.lang.Enum#valueOf(Class, String)
142 Sample s = Enum.valueOf(Sample.class, "CURLY");
144 s = Enum.valueOf(Sample.class, "LARRY");
146 s = Enum.valueOf(Sample.class, "MOE");
149 Enum.valueOf(Bogus.class, "MOE");
155 Enum.valueOf((Class<Sample>)null, "a string");
163 Enum.valueOf(Sample.class, null);
171 Enum.valueOf((Class<Sample>)null, (String)null);
181 * @tests java.lang.Enum#values
195 * @tests java.lang.Enum#clone()