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

11
LINES

< > BotCompany Repo | #1009968 // web_nonRelationNodes - all nodes which are not a relation

JavaX fragment (include)

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

Author comment

Began life as a copy of #1009967

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: #1009968
Snippet name: web_nonRelationNodes - all nodes which are not a relation
Eternal ID of this version: #1009968/4
Text MD5: e181557e65d4bc6a188086823106f6d6
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:27:14
Source code size: 295 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 517 / 525
Version history: 3 change(s)
Referenced in: [show references]