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

9
LINES

< > BotCompany Repo | #1010789 // loadWebs

JavaX fragment (include)

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

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: 356 / 369
Version history: 5 change(s)
Referenced in: [show references]