// f: A -> Comparable static <A> L<A> sortByCalculatedFieldDesc_inPlace(L<A> l, fO f) { sort(l, new Comparator<A>() { public int compare(A b, A a) { ret stdcompare((O) callF(f, a), (O) callF(f, b)); } }); ret l; } static <A> L<A> sortByCalculatedFieldDesc_inPlace(O f, L<A> c) { ret sortByCalculatedFieldDesc_inPlace(c, f); }
Began life as a copy of #1006868
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018326 |
Snippet name: | sortByCalculatedFieldDesc_inPlace |
Eternal ID of this version: | #1018326/4 |
Text MD5: | d2b31b9056a972d011e3415657e4875f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-22 13:08:25 |
Source code size: | 360 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 406 / 448 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |