mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
21 lines
313 B
Java
21 lines
313 B
Java
import java.util.*;
|
|
|
|
class MyTest2 {
|
|
{
|
|
Comparator<? super String> comparator = String::compareToIgnoreCase;
|
|
}
|
|
}
|
|
|
|
class Test {
|
|
void test() {
|
|
Foo2<? extends Bar2> foo2 = Bar2::xxx;
|
|
}
|
|
}
|
|
|
|
interface Foo2<T> {
|
|
void bar(T i, T j);
|
|
}
|
|
interface Bar2 {
|
|
default void xxx(Bar2 p) { }
|
|
}
|