class DoubleIntWrapper {
private int x;
private double y;
public DoubleIntWrapper(int x, double y) {
this.x = x;
this.y = y;
}
....
}
DoubleIntWrapper[] data = new DoubleIntWrapper[10];
data[0] = new DoubleIntWrapper(25, 237.34724);