Libraryless. Click here for Pure Java version (1606L/11K).
1 | static <A, B> Map<A, B> combinedMap(Map<A, B>... maps) {
|
2 | ret CombinedMap(wrapAsList(maps)); |
3 | } |
4 | |
5 | static <A, B, C extends Map<A, B>> Map<A, B> combinedMap(Collection<C> maps) {
|
6 | ret l(maps) == 1 ? first(maps) : CombinedMap(maps); |
7 | } |
Began life as a copy of #1021318
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: | #1022361 |
| Snippet name: | combinedMap - uses CombinedMap (virtual union with limited methods) |
| Eternal ID of this version: | #1022361/10 |
| Text MD5: | f90517f12171abe644b19775c7e79117 |
| Transpilation MD5: | 663f76175aa8feb57e125c41fd0efa61 |
| 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:37:14 |
| Source code size: | 237 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 496 / 661 |
| Version history: | 9 change(s) |
| Referenced in: | [show references] |