enum E {
X, Y, Z;
}
enum E {
X, Y, Z;
}
enum E { X, Y, Z; }
public E getNext() {
E[] e = E.values();
int i = 0;
for (; e[i] != this; i++)
;
i++;
i
return e[i];
}
public E getNext() {
E[] e = E.values();
int i = 0;
for (; e[i] != this; i++)
;
i++;
i
return e[i];
}
public E getNext() { E[] e = E.values(); int i = 0; for (; e[i] != this; i++) ; i++; i return e[i]; }