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)

1  
static Collection<WebRelation> web_relationObjects(Web web) {
2  
  ifdef WebWithRelationsMap
3  
  if (web.relations != null)
4  
    ret values(web.relations);
5  
  endifdef
6  
  new L<WebRelation> l;
7  
  for (WebNode n : web.nodes)
8  
    if (n instanceof WebRelation)
9  
      l.add(n/WebRelation);
10  
  ret l;
11  
}

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: 437 / 450
Version history: 2 change(s)
Referenced in: [show references]