Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (Map.Entry<String, String> paramEntry : treeMap.entrySet()) {
- if (paramEntry.equals(treeMap.firstEntry())) {
- strBuffer.append("?");
- } else {
- strBuffer.append("&");
- }
- strBuffer.append(paramEntry.getKey() + "=" + paramEntry.getValue());
- }
Add Comment
Please, Sign In to add comment