alcatrazbr
11/24/2016 - 6:29 PM

foreach HashMap

foreach HashMap

HashMap<String, HashMap> selects = new HashMap<String, HashMap>();

for(Map.Entry<String, HashMap> entry : selects.entrySet()) {
    String key = entry.getKey();
    HashMap value = entry.getValue();

    // do what you have to do here
    // In your case, an other loop.
}