// f: A -> S static <A> L<A> sortByCalculatedFieldIC(Iterable<A> c, final O f) { L<A> l = cloneList(c); sort(l, new Comparator<A>() { public int compare(A a, A b) { ret compareIC((S) callF(f, a), (S) callF(f, b)); } }); ret l; }
Began life as a copy of #1006712
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016503 |
Snippet name: | sortByCalculatedFieldIC |
Eternal ID of this version: | #1016503/4 |
Text MD5: | b456183b661ac9cb316b8d4d2a10da3c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-20 17:04:20 |
Source code size: | 259 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 394 / 430 |
Version history: | 3 change(s) |
Referenced in: | [show references] |