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

8
LINES

< > BotCompany Repo | #1014348 // removeFromMapCI_sync

JavaX fragment (include)

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

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: #1014348
Snippet name: removeFromMapCI_sync
Eternal ID of this version: #1014348/4
Text MD5: d504f8789995a8a20fe0b93b24a1d1b4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 13:15:54
Source code size: 209 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 442
Version history: 3 change(s)
Referenced in: [show references]