1 | static <A> L<A> sortedByFieldDesc(Collection<A> c, S field) { |
2 | L<A> l = new ArrayList(c); |
3 | sort(l, descFieldComparator(field)); |
4 | ret l; |
5 | } |
6 | |
7 | static <A> L<A> mapMethodLike sortedByFieldDesc(S field, Collection<A> c) { |
8 | ret sortedByFieldDesc(c, field); |
9 | } |
Began life as a copy of #1002452
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005303 |
Snippet name: | sortedByFieldDesc |
Eternal ID of this version: | #1005303/3 |
Text MD5: | 4b185acbbbf67ca030b8127dd2669eee |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-29 23:37:25 |
Source code size: | 262 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 561 / 589 |
Version history: | 2 change(s) |
Referenced in: | [show references] |