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

12
LINES

< > BotCompany Repo | #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);
}

static void web_addRelation(WebNode a, S rel, WebNode b) {
  web_addRelation(a, b, rel);
}

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: #1010374
Snippet name: web_addRelation
Eternal ID of this version: #1010374/4
Text MD5: 061c72e925360fcddcafac81b61620ac
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-08 23:54:29
Source code size: 360 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 460 / 470
Version history: 3 change(s)
Referenced in: [show references]