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   

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

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: 156 / 164
Referenced in: [show references]

Formerly at http://tinybrain.de/1011577 & http://1011577.tinybrain.de