8 lines
84 B
Java
Raw Normal View History

2015-09-22 18:43:36 +02:00
interface Fun1<A,B>{
A apply(B p);
}
class TestFun1<A>{
A apply(A a){return a;}
}