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

11
LINES

< > BotCompany Repo | #1010325 // web_relationObjects - return WebRelation objects

JavaX fragment (include)

static Collection<WebRelation> web_relationObjects(Web web) {
  ifdef WebWithRelationsMap
  if (web.relations != null)
    ret values(web.relations);
  endifdef
  new L<WebRelation> l;
  for (WebNode n : web.nodes)
    if (n instanceof WebRelation)
      l.add(n/WebRelation);
  ret l;
}

Author comment

Began life as a copy of #1010207

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: #1010325
Snippet name: web_relationObjects - return WebRelation objects
Eternal ID of this version: #1010325/3
Text MD5: 0820b204c82baf6ba68ba68439225cf0
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-27 11:26:46
Source code size: 297 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 435 / 448
Version history: 2 change(s)
Referenced in: [show references]