Hi Mike,
Go ahead and update the code for your MaterialData imported archive to the following:
import java.util.ArrayList; public class MaterialData { private String matIntID; private ArrayList<String> tuples; public MaterialData(){} public void setMatIntID(String matIntID){ this.matIntID = matIntID; } public void setTuples(ArrayList<String> tuples){ this.tuples = tuples; } public String getMatIntID(){ return matIntID; } public ArrayList<String> getTuples(){ return tuples; } public String toString() { String result = ""; result += "Internal Mat ID: " + matIntID + "\r\n"; for(int i = 0; i < tuples.size(); i++) result += "Tuple" + Integer.toString(i) + ": " + tuples.get(i) + "\r\n"; return result; } }
The extra method at the end overrides the toString on the objects so when the trace is performed you shouldn't get the unintelligible output. This should give you some idea of what the data in your HashMap looks like. If this doesn't work then there is another option for iterating the EntrySet for the HashMap but I would try this first because it is simpler.
Regards,
Ryan Crosby