In java you would prolly have to use a Hashtable for this. so in your case you would have an array of Hashtables. A hashtable is an object where yuo can asign any object as key and any object as value:
Object keyObject = new Object();
Object valueObject = new Object();
Hashtable ht = new Hashtable();
This hashtable you can then read via the get(Object) method.