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

10
LINES

< > BotCompany Repo | #1012332 // ai_tripleRefToWebNode

JavaX fragment (include)

1  
static WebNode ai_tripleRefToWebNode(TripleRef<S> r) {
2  
  if (r == null) null;
3  
  Web web = webFromTriple(r.triple());
4  
  try {
5  
    ret web.nodes.get(r.position());
6  
  } catch e {
7  
    print("ai_tripleRefToWebNode: " + e + " " + sfu(r.triple()) + " => " + webToStringShort(web));
8  
    throw rethrow(e);
9  
  }
10  
}

Author comment

Began life as a copy of #1012331

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: #1012332
Snippet name: ai_tripleRefToWebNode
Eternal ID of this version: #1012332/5
Text MD5: 2b1a156bd0506429fdf7ee29d4ed26ef
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-28 15:37:47
Source code size: 311 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 474 / 508
Version history: 4 change(s)
Referenced in: [show references]