mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 01:20:53 +07:00
17 lines
312 B
Java
17 lines
312 B
Java
import java.util.*;
|
|
|
|
class Test {
|
|
interface Condition<K> {}
|
|
class IOC<M> implements Condition {}
|
|
|
|
static <T> List<T> filter(T[] c, Condition<? super T> con) {
|
|
return null;
|
|
}
|
|
|
|
interface OE {}
|
|
interface LOE extends OE {}
|
|
|
|
void foo(OE[] es, IOC<LOE> con) {
|
|
List<LOE> l = filter(es, con);
|
|
}
|
|
} |