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

8
LINES

< > TinyBrain | #1010374 - web_addRelation

JavaX fragment (include)

static void web_addRelation(WebNode a, WebNode b, S rel) {
  if (a != null && b != null && rel != null)
    a.web.getRelation(a, b).addLabel(rel);
}

static void web_addRelation(Web web, S a, S b, S rel) {
  web_addRelation(web.node(a), web.node(b), rel);
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1010374
Snippet name: web_addRelation
Eternal ID of this version: #1010374/3
Text MD5: 94674b430e551055c707c60811c84d00
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-14 01:32:22
Source code size: 264 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 9 / 13
Version history: 2 change(s)
Referenced in: [show]