mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +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){}
|
|
} |