Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. while (temp.hasNext()) {
  2.  
  3. words = temp.next();
  4.  
  5. if (output.containsKey(words)) {
  6. table.put(words, table.get(words) + output.get(words);
  7. } else {
  8. table.put(words, temp.get(words);
  9. }
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement