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

9
LINES

< > BotCompany Repo | #1010468 // web_dropSingleNodes

JavaX fragment (include)

1  
static void web_dropSingleNodes(Web web) {
2  
  web_dropEmptyRelations(web);
3  
  new HashSet<WebNode> set;
4  
  for (WebRelation r : web_relationObjects(web)) {
5  
    set.add(r.a);
6  
    set.add(r.b);
7  
  }
8  
  web_dropAllNodesBut(web, set);
9  
}

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: #1010468
Snippet name: web_dropSingleNodes
Eternal ID of this version: #1010468/4
Text MD5: 0c116a7c6f40939f2cccc1feec7190f5
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 02:51:24
Source code size: 235 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 396 / 414
Version history: 3 change(s)
Referenced in: [show references]