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)

1  
static <A, B> L<B> getAll(Map<A, B> map, Collection<A> l) {
2  
  ret lookupAllOpt(map, l);
3  
}
4  
5  
static <A, B> L<B> getAll(Collection<A> l, Map<A, B> map) {
6  
  ret lookupAllOpt(map, l);
7  
}
8  
9  
static <A, B extends IF0<A>> L<A> getAll(Iterable<B> l) {
10  
  ret getVars(l);
11  
}

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: 475 / 516
Version history: 3 change(s)
Referenced in: [show references]