static Map<S, WebNode> web_textIndex(Web web) { new HashMap<S, WebNode> index; for (WebNode node : web.nodes) if (!(node instanceof WebRelation) && nempty(node.labels)) index.put(node.text(), node); ret index; }
Began life as a copy of #1010255
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: | #1010256 |
| Snippet name: | web_textIndex |
| Eternal ID of this version: | #1010256/1 |
| Text MD5: | bed3face199e445e367475b4cb580971 |
| 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:59:24 |
| Source code size: | 226 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 618 / 685 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |