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

8
LINES

< > BotCompany Repo | #1010598 // web_allRelationsWithLabel

JavaX fragment (include)

static L<WebRelation> web_allRelationsWithLabel(Web web, S label) {
  Lisp l = web.parseLabel(label);
  new L<WebRelation> out;
  for (WebRelation r : web_relationObjects(web))
    if (r.hasLabel(l))
      out.add(r);
  ret out;
}

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: #1010598
Snippet name: web_allRelationsWithLabel
Eternal ID of this version: #1010598/1
Text MD5: b3d19de765cf3ff47d2bae591723b6a6
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-22 18:44:20
Source code size: 237 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 413 / 440
Referenced in: [show references]