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

6
LINES

< > BotCompany Repo | #1014252 // mapMinusKeysOfOtherMap

JavaX fragment (include)

static <A, B> Map<A, B> mapMinusKeysOfOtherMap(Map<A, B> map, Map map2) {
  Map m2 = cloneMap(map);
  for (O key : keys(map2))
    m2.remove(key);
  ret m2;
}

Author comment

Began life as a copy of #1004210

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: #1014252
Snippet name: mapMinusKeysOfOtherMap
Eternal ID of this version: #1014252/4
Text MD5: e44ec45e39501d43e52d3033fefba742
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-17 16:47:21
Source code size: 163 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 533 / 544
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)