Libraryless. Click here for Pure Java version (38L/1K).
static <A> LL<A> mapToTwoElementLists(Map<A> map) { new LL<A> l; if (map != null) for (Map.Entry<A, A> e : map.entrySet()) l.add(ll(e.getKey(), e.getValue())); ret l; }
Began life as a copy of #1011173
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: | #1026130 |
Snippet name: | mapToTwoElementLists |
Eternal ID of this version: | #1026130/2 |
Text MD5: | 765a6b4f048554789cf5ca2835217353 |
Transpilation MD5: | 05a32b272d26b2ea6be4be85d4c39e9b |
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:11:19 |
Source code size: | 183 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 215 / 317 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026131 - mapToTwoElementMaps |