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

11
LINES

< > BotCompany Repo | #1010994 // getAll - synonym of lookupAllOpt + getVars

JavaX fragment (include)

static <A, B> L<B> getAll(Map<A, B> map, Collection<A> l) {
  ret lookupAllOpt(map, l);
}

static <A, B> L<B> getAll(Collection<A> l, Map<A, B> map) {
  ret lookupAllOpt(map, l);
}

static <A, B extends IF0<A>> L<A> getAll(Iterable<B> l) {
  ret getVars(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: #1010994
Snippet name: getAll - synonym of lookupAllOpt + getVars
Eternal ID of this version: #1010994/4
Text MD5: cf41ac8592a3395b091e0c106c6a920e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-20 05:38:12
Source code size: 269 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 474 / 515
Version history: 3 change(s)
Referenced in: [show references]