JavaCompilerCore/resources/javFiles/packageTest/Pair2.jav

14 lines
195 B
Java

import de.test.Pair;
class Pairs {
setfst(fst) {
return new Pair<>(snd, fst);
}
swap () {
return new Pair<> (snd, fst); }
polyrec(p) {
return polyrec (p.swap());
}
}