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

6
LINES

< > BotCompany Repo | #1023857 // emptyMultiMapSimilarToMap - make an effort to create an empty MultiMap of same key type

JavaX fragment (include)

1  
static MultiMap emptyMultiMapSimilarToMap(Map m) {
2  
  new MultiMap mm;
3  
  if (m != null)
4  
    mm.data = similarEmptyMap(m);
5  
  ret mm;
6  
}

Author comment

Began life as a copy of #1020214

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: #1023857
Snippet name: emptyMultiMapSimilarToMap - make an effort to create an empty MultiMap of same key type
Eternal ID of this version: #1023857/1
Text MD5: e0e85548c8f01e890bb569ddd65b8de8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-10 17:27:45
Source code size: 137 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 224 / 256
Referenced in: [show references]