static <A, B> L<A> keysSortedByValues(final Map<A, B> map) { L<A> l = new ArrayList(map.keySet()); sort(l, mapComparator(map)); ret l; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002585 |
Snippet name: | keysSortedByValues |
Eternal ID of this version: | #1002585/3 |
Text MD5: | e1b0487cc1f702ba2940b6eb18ebd243 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-26 12:00:30 |
Source code size: | 146 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 678 / 623 |
Version history: | 2 change(s) |
Referenced in: | #1004896 - orderMapByDescendingValue #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1007533 - keysSortedByValuesDesc #1011802 - keysSortedByValue - synonym of keysSortedByValues #3000382 - Answer for ferdie (>> t = 1, f = 0) |