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

7
LINES

< > BotCompany Repo | #1010449 // web_findRelation - match on relations

JavaX fragment (include)

1  
static WebRelation web_findRelation(Web web, S a, S rel, S b) {
2  
  for (WebRelation r : web_relationObjects(web))
3  
    if (web_matchNodeName(r.a, a) && web_matchNodeName(r.b, b)
4  
      && web_matchNodeName(r, rel))
5  
      ret r;
6  
  null;
7  
}

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: #1010449
Snippet name: web_findRelation - match on relations
Eternal ID of this version: #1010449/2
Text MD5: 314f9707b7cf72417492d1ff5d66fe41
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:18:36
Source code size: 240 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 408 / 429
Version history: 1 change(s)
Referenced in: [show references]