Transpiled version (2768L) is out of date.
static <A, B, C> LinkedHashMap<A, B> lambdaMapLike mapSortedByFunctionOnKey(IF1<A, C> f, Map<A, B> map) { L<A> l = new ArrayList(map.keySet()); sortInPlaceByCalculatedField(l, f); new LinkedHashMap<A, B> map2; for (A a : l) map2.put(a, map.get(a)); ret map2; }
Began life as a copy of #1029622
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031033 |
Snippet name: | mapSortedByFunctionOnKey |
Eternal ID of this version: | #1031033/5 |
Text MD5: | ce2366c127f61ee7251d5d3ebe4da3d9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-24 05:43:59 |
Source code size: | 281 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 144 / 213 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |