1 | static void web_dropAllNodesBut(WebNode... nodes) { |
2 | web_dropAllNodesBut(first(nodes).web, asHashSet(nodes)); |
3 | } |
4 | |
5 | static void web_dropAllNodesBut(Web web, Set<WebNode> set) { |
6 | for (WebNode node : web_nonRelationNodes(web)) |
7 | if (!set.contains(node)) |
8 | web_removeNode(node); |
9 | } |
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: | #1010118 |
Snippet name: | web_dropAllNodesBut |
Eternal ID of this version: | #1010118/6 |
Text MD5: | 25f436795337dec490410e53fded599e |
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-18 02:52:44 |
Source code size: | 292 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 463 / 471 |
Version history: | 5 change(s) |
Referenced in: | [show references] |