static HashMap<WebNode, WebNode> web_addWebToWeb(Web web, Web w) { new HashMap<WebNode, WebNode> map; for (WebNode node : web.nodes) if (!(node instanceof WebRelation)) map.put(node, cloneNodeToWeb(node, w)); for (Pair<WebNode> p : web_relations(web)) w.getRelation(assertNotNull(map.get(p.a)), assertNotNull(map.get(p.b))).addLabels(web.getRelation(p).labels()); ret map; }
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: | 591 / 565 |
Version history: | 8 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010273 - web_addNodesToWeb - clones nodes; no merging |