I have data that is currently being stored in a HashMap<String, ArrayList<HashMap<String, String>>>
I am looking to get a certain value of the ArrayList<HashMap<String, String>>>
where the Key is of value "FieldName1". Alternatively, if I try to get the ArrayList Index would it return me both the Key,value pair?
Ultimately what I am trying to do is compare this specific value where the key is "fieldName1" to the other "fieldnName1"'s within the arrayList. If that is the case, should I take the index position of the ArrayList instead?
Thanks!
edit***
The reason HashMap<String, ArrayList<HashMap<String, String>>>
is used is because what I am trying to do is process an excel file. I read each row in my excel file and based off the first cell in the row (ex A1) it maps to a certain DB Table. I then have a layoutFile that stores the DB Table name and its corresponding field names. Each new row in that excel file is a different field name.