blob: bdc7577cd1d612104cff724474dc1ce7a85b5714 [file] [log] [blame]
class TestJ8 {
interface Func<Af, Bf> {
Bf f(Af a);
}
class List<A> {
<Bm> List<Bm> map(Func<A, Bm> f) {
return null;
}
<Bb> List<Bb> bind(Func<A, List<Bb>> f) {
return null;
}
<B> List<B> apply(final List<Func<A, B>> lf) {
return lf.bind(this::map);
}
}
}