forked from JavaTX/JavaCompilerCore
14 lines
195 B
Java
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());
|
|
}
|
|
} |