Libraryless. Click here for Pure Java version (1481L/10K).
static <A, B> Map<A, B> joinMaps_conservative_lhm(L<Map<A, B>> maps) { if (empty(maps)) null; if (l(maps) == 1) ret first(maps); new LinkedHashMap out; for (Map<A, B> map : maps) putAll(out, map); ret out; }
Began life as a copy of #1012066
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023305 | 
| Snippet name: | joinMaps_conservative_lhm - return singleton map, otherwise use LinkedHashMap to combine | 
| Eternal ID of this version: | #1023305/3 | 
| Text MD5: | 0a13f8d37048fd853b60253e049cbf56 | 
| Transpilation MD5: | 88c1c958a093e4fa57d8b650d083feb4 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2019-05-24 19:40:52 | 
| Source code size: | 228 bytes / 8 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 445 / 611 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |