mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
19 lines
363 B
Java
19 lines
363 B
Java
class Test {
|
|
|
|
public enum EXT {
|
|
TOP, BOTTOM
|
|
}
|
|
|
|
public static <C extends Comparable<? extends C>> C min(C c1, C... c2) {
|
|
return null;
|
|
}
|
|
|
|
public static <C extends Comparable<? extends C>> C min(EXT ext, C c1, C... c2) {
|
|
return null;
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
min("a", "b", "c");
|
|
min(EXT.TOP, "a", "b", "c");
|
|
}
|
|
} |