Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1010334 // web_findDoubleRelation - find forwards/backwards relation pair

JavaX fragment (include)

1  
static WebRelation web_findDoubleRelation(Web web, S label1, S label2) {
2  
  for (WebRelation rel : web_relationObjects(web))
3  
    if (web_hasLabelIC(rel, label1) && web_hasLabelIC(web_reverseRelation(rel), label2))
4  
      ret rel;
5  
  null;
6  
}

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: 498 / 509
Referenced in: [show references]