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


< > BotCompany Repo | #1015109 - lookupAllAsCISet

JavaX fragment (include)

static <A> Set<S> lookupAllAsCISet(Map<A, S> map, Collection<A> l) {
  Set<S> out = ciSet();
  if (l != null) for (A a : l)
    addIfNotNull(out, map.get(a));
  ret out; 

static <A> Set<S> lookupAllAsCISet(Collection<A> l, Map<A, S> map) {
  ret lookupAllAsCISet(map, l);

Author comment

Began life as a copy of #1010182

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: #1015109
Snippet name: lookupAllAsCISet
Eternal ID of this version: #1015109/1
Text MD5: 1511e24b8d143a63332b114420f99ed4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-08 13:49:37
Source code size: 285 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 214 / 243
Referenced in: [show references]