2017-11-16 14:10:08 +00:00
|
|
|
import java.util.List;
|
2017-10-10 12:47:05 +00:00
|
|
|
|
|
|
|
class Test{
|
|
|
|
methode(param1, param2, param3) {
|
2017-11-16 14:10:08 +00:00
|
|
|
param2.add(param3);
|
|
|
|
return param1.meth(param2);
|
2017-10-10 12:47:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Klasse1{
|
2017-11-16 14:10:08 +00:00
|
|
|
Klasse1 meth(List p);
|
2017-10-10 12:47:05 +00:00
|
|
|
Klasse1 meth(Klasse2 p);
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Klasse2{
|
|
|
|
Klasse1 meth(Klasse1 p);
|
|
|
|
Klasse2 meth(Klasse2 p);
|
|
|
|
}
|