static MultiMap<S, WebNode> web_forwardMultiMapByLabel(WebNode n) { Web web = n.web; new MultiMap<S, WebNode> map; for (WebNode b : web_allForwardRelated(n)) { WebNode r = web.getRelation(n, b); L<S> labels = web.unparseLabels(r.labels); for (S label : labels) map.put(label, b); } ret map; }
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: | #1009877 |
| Snippet name: | web_forwardMultiMapByLabel - get forward relations of node as MultiMap by label |
| Eternal ID of this version: | #1009877/4 |
| Text MD5: | 47dd501d6c03cf1ba11a556432e7661a |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-08-22 21:47:32 |
| Source code size: | 330 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 644 / 675 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |