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

5
LINES

< > BotCompany Repo | #1002947 - mapPlus - clone map and add items (default to HashMap when map was null)

JavaX fragment (include)

static <A, B> Map<A, B> mapPlus(Map<A, B> m, O... data) {
  m = cloneMap(m);
  litmap_impl(m, data);
  ret m;
}

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1002947
Snippet name: mapPlus - clone map and add items (default to HashMap when map was null)
Eternal ID of this version: #1002947/3
Text MD5: 0188d854df961341dc1b4dd1056364c9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-01 15:23:43
Source code size: 115 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 445 / 440
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1002947 & http://1002947.tinybrain.de