static Set<Pair<WebNode>> web_relations(Web web) { ifdef WebWithRelationsMap if (web.relations != null) ret keys(web.relations); endifdef new LinkedHashSet<Pair<WebNode>> l; for (WebNode n : web.nodes) if (n instanceof WebRelation) l.add(pair(n/WebRelation.a, n/WebRelation.b)); ret 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: | #1010207 |
Snippet name: | web_relations |
Eternal ID of this version: | #1010207/6 |
Text MD5: | eaf32d93a9c58de40bc796941d435c43 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-27 11:25:30 |
Source code size: | 329 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 562 / 599 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010325 - web_relationObjects - return WebRelation objects |