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

7
LINES

< > BotCompany Repo | #1010019 // web_findNodeAndRelation

JavaX fragment (include)

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

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: 324 / 382
Version history: 1 change(s)
Referenced in: [show references]