17 lines
184 B
Plaintext
17 lines
184 B
Plaintext
|
import java.util.Vector;
|
||
|
import java.lang.Boolean;
|
||
|
import java.lang.Object;
|
||
|
|
||
|
|
||
|
public class Pair<T, U> {
|
||
|
T x;
|
||
|
U y;
|
||
|
|
||
|
public fst() {
|
||
|
return x;
|
||
|
}
|
||
|
|
||
|
public snd() {
|
||
|
return y;
|
||
|
}
|
||
|
}
|