aboutsummaryrefslogtreecommitdiff
path: root/Pair.java
blob: d7648d07d3868360d3b6799f2c72d33ce9977553 (plain)
1
2
3
4
5
6
7
8
9
10
11
public class Pair<S, T> {
    public final S x;
    public final T y;

    public Pair(S x, T y) {
        this.x = x;
        this.y = y;
    }
    public S getX(){return x;}
    public T getY(){return y;}
}