1 | static Map<S, WebNode> web_textIndex(Web web) {
|
2 | new HashMap<S, WebNode> index; |
3 | for (WebNode node : web.nodes) |
4 | if (!(node instanceof WebRelation) && nempty(node.labels)) index.put(node.text(), node); |
5 | ret index; |
6 | } |
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: | 620 / 686 |
| Referenced in: | [show references] |