mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
14 lines
200 B
Java
14 lines
200 B
Java
// "Create Enum Constant 'D3'" "true"
|
|
public enum Demo {
|
|
D3
|
|
}
|
|
|
|
class Show {
|
|
|
|
public void doSomething(Demo d) {
|
|
switch (d) {
|
|
case Demo.D3:
|
|
break;
|
|
}
|
|
}
|
|
} |