mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-14 17:20:50 +07:00
11 lines
250 B
Java
11 lines
250 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) {
|
|
((Comparable) obj).compareTo()
|
|
}
|
|
return -1;
|
|
}
|
|
} |