JavaTXCompilerInJavaTXNoMaven/resources/AllgemeinTest/TripleTest.jav
2024-05-02 23:04:07 +02:00

19 lines
306 B
Java

class Triple<U, T, S> {
U a;
T b;
S c;
Triple(U x, T y, S z) {
a = x; b = y; c = z;
}
U fst() { return a; }
T snd() { return b; }
S thrd() { return c; }
}
public class TripleTest {
m() {
return new Triple<>(m().thrd(), m().thrd(), m().thrd());
}
}