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

3
LINES

< > BotCompany Repo | #1011577 // mapRemoveAll - remove multiple keys

JavaX fragment (include)

static <A, B> void mapRemoveAll(Map<A, B> map, A... keys) {
  if (map != null) for (A a : keys) map.remove(a);
}

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: #1011577
Snippet name: mapRemoveAll - remove multiple keys
Eternal ID of this version: #1011577/1
Text MD5: 8dc94c513e2be6ff5d0261917091915f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-31 17:53:57
Source code size: 114 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 305 / 331
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)