mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 12:20:55 +07:00
19 lines
276 B
Java
19 lines
276 B
Java
import java.util.Comparator;
|
|
|
|
class T {
|
|
|
|
{
|
|
new TreeSet<>(Ordering.natural()<caret>)
|
|
}
|
|
}
|
|
|
|
abstract class Ordering<T> implements Comparator<T> {
|
|
static <C extends Comparable> Ordering<C> natural() {
|
|
}
|
|
}
|
|
|
|
class TreeSet<E> {
|
|
TreeSet(Comparator<? super E> c) {
|
|
}
|
|
}
|