1 | static void web_check(Web web) { |
2 | for (WebNode r : values(web.relations)) { |
3 | if (!(r instanceof WebRelation)) |
4 | fail("Relation not a WebRelation: " + r); |
5 | if (!web.nodes.contains(r)) |
6 | fail("Nodes list doesn't contain relation " + reverseLookup(web.relations, (WebRelation) r)); |
7 | } |
8 | } |
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: | 459 / 468 |
Version history: | 4 change(s) |
Referenced in: | [show references] |