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

7
LINES

< > BotCompany Repo | #1010019 // web_findNodeAndRelation

JavaX fragment (include)

1  
static L<Pair<WebNode>> web_findNodeAndRelation(Web web, S label, S rel) {
2  
  new L<Pair<WebNode>> l;
3  
  for (Pair<WebNode> p : keys(web.relations))
4  
    if (web_hasLabelIC(p.a, label) && web_hasLabelIC(p, rel))
5  
      l.add(p);
6  
  ret l;
7  
}

Author comment

Began life as a copy of #1010018

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: #1010019
Snippet name: web_findNodeAndRelation
Eternal ID of this version: #1010019/2
Text MD5: 3fab1340c0c7d59b7241f1949b304e95
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-28 23:48:37
Source code size: 241 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 406 / 466
Version history: 1 change(s)
Referenced in: [show references]