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

14
LINES

< > BotCompany Repo | #1010068 // web_allNodesNamed

JavaX fragment (include)

static L<WebNode> web_allNodesNamed(Web web, S name) {
  ret web.index.get(web.parseLabel(name));
}

static L<WebNode> web_allNodesNamed(Web web, Lisp name) {
  ret web.index.get(name);
}

static L<WebNode> web_allNodesNamed(Web web, Collection<S> names) {
  new LinkedHashSet<WebNode> l;
  for (S name : names)
    l.addAll(web.index.get(web.parseLabel(name)));
  ret asList(l);
}

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: #1010068
Snippet name: web_allNodesNamed
Eternal ID of this version: #1010068/4
Text MD5: e702a94371ab1189859c57b0b3ca0129
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-11 03:09:59
Source code size: 394 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 455 / 527
Version history: 3 change(s)
Referenced in: [show references]