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

10
LINES

< > BotCompany Repo | #1010942 // web_addRelationsToMapping

JavaX fragment (include)

static Map<WebNode> web_addRelationsToMapping(Map<WebNode> map) {
  Web web = firstKey(map).web;
  Map<WebNode> map2 = cloneMap(map);
  for (WebRelation rel : web_relationObjects(web)) {
    WebNode a2 = map.get(rel.a), b2 = map.get(rel.b);
    if (a2 != null && b2 != null)
      mapPut(map2, rel, web_findRelationObject(a2, b2));
  }
  ret map2;
}

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: #1010942
Snippet name: web_addRelationsToMapping
Eternal ID of this version: #1010942/4
Text MD5: a5b97824371b3d51bbebcb8db056c833
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-09 02:12:56
Source code size: 358 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 404 / 443
Version history: 3 change(s)
Referenced in: [show references]