mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
12 lines
406 B
Java
12 lines
406 B
Java
|
|
import java.util.function.BiConsumer;
|
|
import java.util.function.Predicate;
|
|
|
|
class MyTest {
|
|
{
|
|
BiConsumer<Predicate<? extends Runnable>, Predicate<? extends Runnable>> or = MyTest::<error descr="Incompatible equality constraint: capture of ? extends Runnable and capture of ? extends Runnable">or</error>;
|
|
}
|
|
|
|
private static <E extends Runnable> void or(Predicate<E> left, Predicate<E> right) {}
|
|
}
|