mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 11:36:59 +07:00
15 lines
273 B
Java
15 lines
273 B
Java
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);
|
|
}
|
|
|
|
}
|