mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
10 lines
162 B
Java
10 lines
162 B
Java
public enum Operation {
|
|
PLUS {
|
|
int eval(int x, int y) {
|
|
return x + y;
|
|
}
|
|
};
|
|
|
|
abstract int eval(int x, int y);
|
|
<caret>
|
|
} |