Libraryless. Click here for Pure Java version (38L/1K).
1 | static <A> LL<A> mapToTwoElementLists(Map<A> map) { |
2 | new LL<A> l; |
3 | if (map != null) for (Map.Entry<A, A> e : map.entrySet()) |
4 | l.add(ll(e.getKey(), e.getValue())); |
5 | ret l; |
6 | } |
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: | 216 / 319 |
Version history: | 1 change(s) |
Referenced in: | [show references] |