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

4
LINES

< > BotCompany Repo | #1013306 // removeFromTwoMaps - remove key from two maps

JavaX fragment (include)

static <A, B> void removeFromTwoMaps(Map<A, B> map1, Map<A, B> map2, A key) {
  map1.remove(key);
  map2.remove(key);
}

Author comment

Began life as a copy of #1013305

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: #1013306
Snippet name: removeFromTwoMaps - remove key from two maps
Eternal ID of this version: #1013306/1
Text MD5: f52f541d318597a7747090fda6280ce9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-31 19:34:57
Source code size: 122 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 422 / 438
Referenced in: [show references]