static Map<Lisp, WebNode> web_firstLabelIndex(Web web) { new HashMap<Lisp, WebNode> index; for (WebNode node : web.nodes) if (!(node instanceof WebRelation) && nempty(node.labels)) index.put(first(node.labels), node); ret index; }
Began life as a copy of #1009979
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: | #1010255 |
Snippet name: | web_firstLabelIndex |
Eternal ID of this version: | #1010255/1 |
Text MD5: | 59b6f6efc34caad5a614bd875878a0ed |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-07 18:58:34 |
Source code size: | 245 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 469 / 500 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010256 - web_textIndex |