static WebRelation web_findDoubleRelation(Web web, S label1, S label2) { for (WebRelation rel : web_relationObjects(web)) if (web_hasLabelIC(rel, label1) && web_hasLabelIC(web_reverseRelation(rel), label2)) ret rel; null; }
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: | #1010334 |
Snippet name: | web_findDoubleRelation - find forwards/backwards relation pair |
Eternal ID of this version: | #1010334/1 |
Text MD5: | 1cbc194f781f5b100b583456674d04ef |
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-11 22:37:54 |
Source code size: | 242 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 497 / 508 |
Referenced in: | [show references] |