static Web web_mergeWebs(Web web1, Web web2) { Web web = web_cloneWeb(web1); web_addWebToWeb(web2, web); web_mergeNodesByFirstLabel(web); ret web; } static Web web_mergeWebs(Collection<Web> webs) { if (empty(webs)) null; Iterator<Web> i = webs.iterator(); Web web = web_cloneWeb(i.next()); while (i.hasNext()) web_addWebToWeb(i.next(), web); web_mergeNodesByFirstLabel(web); ret web; }
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: | #1009978 |
Snippet name: | web_mergeWebs |
Eternal ID of this version: | #1009978/3 |
Text MD5: | e3451c1e863fcb4a2bcb237413d19dc5 |
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-01 23:47:10 |
Source code size: | 425 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 411 / 458 |
Version history: | 2 change(s) |
Referenced in: | [show references] |