forked from JavaTX/JavaCompilerCore
20 lines
209 B
Java
20 lines
209 B
Java
import java.lang.Integer;
|
|
import java.lang.String;
|
|
|
|
class ListenerOverload{
|
|
|
|
call(p){
|
|
call(p.left);
|
|
call(p.right);
|
|
}
|
|
|
|
call(Integer i){}
|
|
|
|
call(String s){}
|
|
|
|
}
|
|
|
|
class Pair<A,B>{
|
|
A left;
|
|
B right;
|
|
} |