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