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)

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

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: 516 / 523
Version history: 3 change(s)
Referenced in: [show references]