1 | static <A> L<A> sortByDescScore(Collection<A> c, Map<A, ?> map) { |
2 | L<A> l = cloneList(c); |
3 | sort(l, mapComparatorDesc(map)); |
4 | ret l; |
5 | } |
Began life as a copy of #1004896
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: | #1007980 |
Snippet name: | sortByDescScore - sort list according to map |
Eternal ID of this version: | #1007980/3 |
Text MD5: | 90ae4bfb26fa2a61b5becd9dc174754a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-18 01:06:30 |
Source code size: | 140 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 490 / 507 |
Version history: | 2 change(s) |
Referenced in: | [show references] |