mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
5 lines
164 B
Java
5 lines
164 B
Java
class A {
|
|
public Integer incrementInteger(Number n) {
|
|
return n instanceof Integer ? <selection>(Integer)n + 1</selection> : (Integer) n + 1 -1 ;
|
|
}
|
|
} |