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

7
LINES

< > BotCompany Repo | #1017591 // addMapToMapWithoutOverwriting

JavaX fragment (include)

static <A, B> bool addMapToMapWithoutOverwriting(Map<A, B> map, Map<A, B> adding) {
  if (!canPutAllStrictly(map, adding)) false;
  for (A key, B value : unnull(adding)) {
    mapPutStrictly(map, key, value);
  }
  true;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017591
Snippet name: addMapToMapWithoutOverwriting
Eternal ID of this version: #1017591/1
Text MD5: 5e068175fd5afde4c2c6f2dfeaf3634e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-28 12:16:10
Source code size: 228 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 434 / 452
Referenced in: [show references]