Libraryless. Click here for Pure Java version (5482L/30K).
1 | static MultiSetMap similarEmptyMultiSetMap(MultiSetMap m) { |
2 | ret similarEmptyMultiSetMap(m?.data); |
3 | } |
4 | |
5 | static MultiSetMap similarEmptyMultiSetMap(Map m) { |
6 | new MultiSetMap mm; |
7 | if (m != null) |
8 | mm.data = similarEmptyMap(m); |
9 | ret mm; |
10 | } |
Began life as a copy of #1020214
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034850 |
Snippet name: | similarEmptyMultiSetMap - make an effort to create an empty MultiSetMap of same type |
Eternal ID of this version: | #1034850/3 |
Text MD5: | 5cea981e2fa42a31eb89b7f3ce201fa3 |
Transpilation MD5: | 1601c78f8719ccdf848fe83aed2ff159 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-11 05:33:30 |
Source code size: | 248 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 129 / 190 |
Version history: | 2 change(s) |
Referenced in: | [show references] |