SNELS

Untitled

Jan 15th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.56 KB | None | 0 0
  1.  Map<Shop, String> tempMap = new HashMap<>();
  2.                     for (Change change : item.getValuesList()) {
  3.                         tempMap.put(change.getShop(), change.getValue());
  4.                     }
  5.  
  6.                     for (Map.Entry entryShop : shopMap.entrySet()) {
  7.                         for (Map.Entry entryTemp : tempMap.entrySet()) {
  8.                             if (entryShop.getKey() == entryTemp.getKey())
  9.                                 htmlPage.append("<td>" + entryTemp.getValue() + "</td>\n");
  10.                         }
  11.                     }
Add Comment
Please, Sign In to add comment