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

7
LINES

< > BotCompany Repo | #1017831 // addMapToMapWithoutOverwritingIC - uses eqic on values

JavaX fragment (include)

1  
static <A> bool addMapToMapWithoutOverwritingIC(Map<A, S> map, Map<A, S> adding) {
2  
  if (!canPutAllStrictlyIC(map, adding)) false;
3  
  for (A key, S value : unnull(adding)) {
4  
    strictPutIC(map, key, value);
5  
  }
6  
  true;
7  
}

Author comment

Began life as a copy of #1017591

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017831
Snippet name: addMapToMapWithoutOverwritingIC - uses eqic on values
Eternal ID of this version: #1017831/4
Text MD5: f1a4ba34268e9e490bcd37261b51e3de
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-15 16:00:24
Source code size: 226 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 492 / 549
Version history: 3 change(s)
Referenced in: [show references]