Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map<Shop, String> tempMap = new HashMap<>();
- for (Change change : item.getValuesList()) {
- tempMap.put(change.getShop(), change.getValue());
- }
- for (Map.Entry entryShop : shopMap.entrySet()) {
- for (Map.Entry entryTemp : tempMap.entrySet()) {
- if (entryShop.getKey() == entryTemp.getKey())
- htmlPage.append("<td>" + entryTemp.getValue() + "</td>\n");
- }
- }
Add Comment
Please, Sign In to add comment