Advertisement
alpine12

hasmap

Jun 3rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1.                      // tmp hash map for single contact
  2.                         HashMap<String, String> contact = new HashMap<>();
  3.                         // adding each child node to HashMap key => value
  4.                         contact.put("id_limbah", id);
  5.                         contact.put("tanggal", tgl);
  6.                         contact.put("volume", vol);
  7.                         contact.put("bau", bau);
  8.                         contact.put("keruh", keruh);
  9.  
  10.                         // adding contact to contact list
  11.                         dataList.add(contact);
  12.                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement