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

6
LINES

< > BotCompany Repo | #1029694 // mapPlus_inFront - clone map and add items in front (return LinkedHashMap)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (48L/1K).

1  
static <A, B> Map<A, B> mapPlus_inFront(Map<A, B> m, O... data) {
2  
  new LinkedHashMap m2;
3  
  litmap_impl(m2, data);
4  
  putAll(m2, m);
5  
  ret m2;
6  
}

Author comment

Began life as a copy of #1002947

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029694
Snippet name: mapPlus_inFront - clone map and add items in front (return LinkedHashMap)
Eternal ID of this version: #1029694/2
Text MD5: 10876d4d8b01e23379b509fd35904153
Transpilation MD5: ec189aa1cf2b8a85acb09aa151cd7b39
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-07 15:19:13
Source code size: 148 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 157 / 233
Version history: 1 change(s)
Referenced in: [show references]