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

9
LINES

< > BotCompany Repo | #1010469 // web_singleNodes

JavaX fragment (include)

static Collection<WebNode> web_singleNodes(Web web) {
  web_dropEmptyRelations(web);
  new HashSet<WebNode> set;
  for (WebRelation r : web_relationObjects(web)) {
    set.add(r.a);
    set.add(r.b);
  }
  ret listMinusSet(web_nodesWithoutRelations(web), set);
}

Author comment

Began life as a copy of #1010468

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: #1010469
Snippet name: web_singleNodes
Eternal ID of this version: #1010469/2
Text MD5: 47574206f3048fd9a8008a84652db990
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-18 03:03:17
Source code size: 270 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 391 / 429
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)