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

3
LINES

< > BotCompany Repo | #1036253 // initHashMap

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

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

1  
static <A, B> Map<A, B> initHashMap(Map<A, B> map) {
2  
  ret map != null ? map : new HashMap;
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036253
Snippet name: initHashMap
Eternal ID of this version: #1036253/2
Text MD5: d90636b57e3ea8dcbea993e624d928ef
Transpilation MD5: d2bfce0d1c9c1304eeb6290aac04b561
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-05 15:41:09
Source code size: 95 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 62 / 98
Version history: 1 change(s)
Referenced in: [show references]