You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
336 B
31 lines
336 B
10 years ago
|
package pkg;
|
||
|
|
||
|
|
||
|
public enum TestEnum {
|
||
|
|
||
|
E1,
|
||
|
E2 {
|
||
|
public void m() {
|
||
|
}
|
||
|
},
|
||
|
E3("-"),
|
||
|
E4("+") {
|
||
|
public void m() {
|
||
|
}
|
||
|
};
|
||
|
private String s;
|
||
|
|
||
|
|
||
|
public void m() {
|
||
|
}
|
||
|
|
||
|
private TestEnum() {
|
||
|
this((String)"?");
|
||
|
}
|
||
|
|
||
|
private TestEnum(@Deprecated String var3) {
|
||
|
this.s = var3;
|
||
|
}
|
||
|
|
||
|
}
|