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

5
LINES

< > BotCompany Repo | #1023586 // replaceMap

JavaX fragment (include)

static <A, B> void replaceMap(Map<A, B> dest, Map<A, B> src) {
  if (dest == src) ret;
  dest.clear();
  dest.putAll(src);
}

Author comment

Began life as a copy of #1002097

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023586
Snippet name: replaceMap
Eternal ID of this version: #1023586/3
Text MD5: f8b6a39c872d3f99490c3a88c9b1686f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-29 00:57:33
Source code size: 128 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 275 / 331
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1023587 - replaceMapWithParams