1 | static HashMap<WebNode, WebNode> web_addWebToWeb(Web web, Web w) { |
2 | new HashMap<WebNode, WebNode> map; |
3 | for (WebNode node : web.nodes) if (!(node instanceof WebRelation)) |
4 | map.put(node, cloneNodeToWeb(node, w)); |
5 | for (Pair<WebNode> p : web_relations(web)) |
6 | w.getRelation(assertNotNull(map.get(p.a)), assertNotNull(map.get(p.b))).addLabels(web.getRelation(p).labels()); |
7 | ret map; |
8 | } |
Began life as a copy of #1009976
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: | #1009977 |
Snippet name: | web_addWebToWeb - no merging |
Eternal ID of this version: | #1009977/9 |
Text MD5: | da365f33902290814fe5b7e195a4f5ef |
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:29:16 |
Source code size: | 397 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 590 / 565 |
Version history: | 8 change(s) |
Referenced in: | [show references] |