public class Pair {
...
}
ArrayList> DCList = new ArrayList>();
I'll leave the implementation of the Pair class to you.
In many cases you probably have classes that describe the things you want to store, i.e.
public class FooItem {
private double doubleThing;
private char charThing;
public double getDoubleThing() { return doubleThing; }
public char getCharThing() { return charThing; }
...
}
and then just use
ArrayList