static void web_check(Web web) { for (WebNode r : values(web.relations)) { if (!(r instanceof WebRelation)) fail("Relation not a WebRelation: " + r); if (!web.nodes.contains(r)) fail("Nodes list doesn't contain relation " + reverseLookup(web.relations, (WebRelation) r)); } }
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: | #1010077 |
Snippet name: | web_check - check web structure |
Eternal ID of this version: | #1010077/5 |
Text MD5: | c29b941e6c44efdb706084a1f20e317c |
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 01:02:10 |
Source code size: | 306 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 457 / 465 |
Version history: | 4 change(s) |
Referenced in: | [show references] |