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

7
LINES

< > BotCompany Repo | #1010970 // elementsNotInMap

JavaX fragment (include)

static <A, B> L<A> elementsNotInMap(Collection<A> c, Map<A, B> map) {
  new L<A> l;
  if (c != null) for (A a : c)
    if (!map.containsKey(a))
      l.add(a);
  ret l;
}

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: #1010970
Snippet name: elementsNotInMap
Eternal ID of this version: #1010970/2
Text MD5: 600a529bc5c0f0375ffbc848ffc28d40
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-10 19:54:16
Source code size: 176 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 374 / 407
Version history: 1 change(s)
Referenced in: [show references]