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

8
LINES

< > BotCompany Repo | #1016359 // removeFromMultiMapCI_sync

JavaX fragment (include)

1  
static void removeFromMultiMapCI_sync(MultiMap<S, O> map, S key) {
2  
  if (map == null) ret;
3  
  synchronized(map.data) {
4  
    for (S k : cloneList(keys(map.data)))
5  
      if (eqic(key, k))
6  
        map.remove(k);
7  
  }
8  
}

Author comment

Began life as a copy of #1014348

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016359
Snippet name: removeFromMultiMapCI_sync
Eternal ID of this version: #1016359/2
Text MD5: 82f8434e1caaae4ad58a1ef13ddd3410
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-16 14:46:30
Source code size: 219 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 453 / 465
Version history: 1 change(s)
Referenced in: [show references]