blob: 989135b624834c2c6b0b7ca5da5b348a99af2e30 [file] [log] [blame]
class Tuple<X,Y> {
public final X x;
public final Y y;
public Tuple(X x,Y y) {this.x=x; this.y=y;}
public X getX() {
return <caret>x;
}
private static <X,Y> Tuple<X,Y> copy(Tuple<X,Y> t) {
return new Tuple<X,Y>(t.x, t.y);
}
}