mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
11 lines
187 B
Java
11 lines
187 B
Java
public class Simple<T> implements Comparable<T> {
|
|
public int compareTo(T o){}
|
|
}
|
|
|
|
class Usage<S> {
|
|
void foo() {
|
|
bar(new Si<caret>mple<S>());
|
|
}
|
|
|
|
void bar(Comparable<S>... r){}
|
|
} |