Libraryless. Click here for Pure Java version (51L/1K).
static <A, B> L<Map<B, A>> mapToTwoElementMaps(B keyKey, B valueKey, Map<A> map) { new L<Map<B, A>> l; if (map != null) for (Map.Entry<A, A> e : map.entrySet()) l.add(litorderedmap(keyKey, e.getKey(), valueKey, e.getValue())); ret l; }
Began life as a copy of #1026130
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: | #1026131 |
Snippet name: | mapToTwoElementMaps |
Eternal ID of this version: | #1026131/1 |
Text MD5: | dd0edf63908fb4c39801635e163720a9 |
Transpilation MD5: | 360d098880728e037593f7b6cb9a951c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-26 00:13:37 |
Source code size: | 250 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 249 / 353 |
Referenced in: | [show references] |