mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-28 10:09:20 +07:00
12 lines
170 B
Java
12 lines
170 B
Java
class Switching {
|
|
boolean x(int i) {
|
|
switch (i) {
|
|
case 1 -> {<caret>
|
|
return true;
|
|
}
|
|
default -> {
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
} |