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

10
LINES

< > BotCompany Repo | #1010130 // web_copyLabels

JavaX fragment (include)

static void web_copyLabels(WebNode src, WebNode dest) {
  if (src == dest) ret;
  web_setLabels(dest, src.labels);
}

static void web_copyLabels(Map<WebNode> map) {
  for (WebNode key, value : map) {
    web_copyLabels(key, value);
  }
}

Author comment

Began life as a copy of #1009970

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: #1010130
Snippet name: web_copyLabels
Eternal ID of this version: #1010130/3
Text MD5: 19d4d0bffe9f66d1c7f9af2c3a5b4067
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-22 18:06:26
Source code size: 246 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 597 / 553
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1010331 - web_addLabelsFromNodeToNode