Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1009879 // cloneMultiMapToTreeMap

JavaX fragment (include)

static <A, B> Map<A, L<B>> cloneMultiMapToTreeMap(MultiMap<A, B> m) {
  if (m == null) null;
  synchronized(m) {
    ret new TreeMap(m.data);
  }
}

Author comment

Began life as a copy of #1009878

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009879
Snippet name: cloneMultiMapToTreeMap
Eternal ID of this version: #1009879/4
Text MD5: 4c7b617122bf6f3d40203360457dd6aa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-22 21:57:02
Source code size: 152 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 411 / 473
Version history: 3 change(s)
Referenced in: [show references]