Libraryless. Click here for Pure Java version (2983L/17K).
static <A> TreeMap<A> listToKeyAndValue_treeMap(Iterable<A> l) { new TreeMap<A> map; for (A a : unnull(l)) map.put(a, a); ret map; }
Began life as a copy of #1018161
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1031998 |
Snippet name: | listToKeyAndValue_treeMap |
Eternal ID of this version: | #1031998/1 |
Text MD5: | f83f4d4363c28869c44cac51fa1dc85c |
Transpilation MD5: | 247bad8bc0ecc33957397cfdf19a2b64 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-08 15:27:21 |
Source code size: | 147 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 143 / 204 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |