mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
11 lines
236 B
Java
11 lines
236 B
Java
import java.math.BigInteger;
|
|
import java.util.function.Function;
|
|
|
|
class Test {
|
|
long test(Object obj) {
|
|
if (obj instanceof Integer || obj instanceof Long || obj instanceof String) {
|
|
obj.compa<caret>
|
|
}
|
|
return -1;
|
|
}
|
|
} |