Guest User

Untitled

a guest
Feb 23rd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. for (Map.Entry<String, String> paramEntry : treeMap.entrySet()) {
  2. if (paramEntry.equals(treeMap.firstEntry())) {
  3. strBuffer.append("?");
  4. } else {
  5. strBuffer.append("&");
  6. }
  7. strBuffer.append(paramEntry.getKey() + "=" + paramEntry.getValue());
  8. }
Add Comment
Please, Sign In to add comment