mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
12 lines
175 B
Java
12 lines
175 B
Java
public enum Operation {
|
|
PLUS {
|
|
int eval(int x, int y) {
|
|
return x + y;
|
|
}
|
|
};
|
|
|
|
abstract int eval(int x, int y);
|
|
|
|
Operation() {
|
|
}
|
|
} |