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

10
LINES

< > BotCompany Repo | #1010130 // web_copyLabels

JavaX fragment (include)

1  
static void web_copyLabels(WebNode src, WebNode dest) {
2  
  if (src == dest) ret;
3  
  web_setLabels(dest, src.labels);
4  
}
5  
6  
static void web_copyLabels(Map<WebNode> map) {
7  
  for (WebNode key, value : map) {
8  
    web_copyLabels(key, value);
9  
  }
10  
}

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: 598 / 554
Version history: 2 change(s)
Referenced in: [show references]