Created
June 28, 2015 19:20
-
-
Save SaadArdati/a1c161a7aa707d515a78 to your computer and use it in GitHub Desktop.
My brain hurts...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArrayList<String> serialized = new ArrayList<>(); | |
Map<String, Map<Player, HashMap<Material, Boolean>>> rows = table.rowMap(); | |
for (Map.Entry<String, Map<Player, HashMap<Material, Boolean>>> row : rows.entrySet()) { | |
for (Map.Entry<Player, HashMap<Material, Boolean>> column : row.getValue().entrySet()) { | |
for (Map.Entry<Material, Boolean> secondColumn : column.getValue().entrySet()) { | |
serialized.add(serializer(row.getKey(), column.getKey(), secondColumn.getKey(), secondColumn.getValue())); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment