mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
14 lines
181 B
Java
14 lines
181 B
Java
|
|
import java.util.List;
|
|
|
|
abstract class Foo {
|
|
|
|
abstract <V> List<V> createList();
|
|
|
|
|
|
<T extends Comparable<T>> void sorted(List<T> list) { }
|
|
|
|
{
|
|
sorted(createList());
|
|
}
|
|
} |