4 lines
37 B
Java

interface Fun1<A,B>{
A apply(B p);
}