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

9
LINES

< > BotCompany Repo | #1010789 // loadWebs

JavaX fragment (include)

1  
static L<Web> loadWebs(S ids) {
2  
  Set<S> l_ids = new LinkedHashSet(splitAtSpace(ids));
3  
  new L<Web> web;
4  
  Map<S, Web> map = indexByMethod(allWebs_cached(), 'globalID);
5  
  
6  
  Pair<L<Web>, L<S>> p = lookupAllOpt2(l_ids, map);
7  
  if (nempty(p.b)) warn("Webs not found: " + sfu(p.b));
8  
  ret p.a;
9  
}

Author comment

Began life as a copy of #1010308

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: #1010789
Snippet name: loadWebs
Eternal ID of this version: #1010789/6
Text MD5: aeb490460a0da4fdfebc3d6d8a5e5342
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-26 20:37:46
Source code size: 300 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 428 / 447
Version history: 5 change(s)
Referenced in: [show references]