Libraryless. Click here for Pure Java version (2193L/14K).
// f: A -> S static <A> L<A> sortInPlaceByCalculatedFieldIC(L<A> l, final F1<A, S> f) { sort(l, new Comparator<A>() { public int compare(A a, A b) { ret compareIC(f.get(a), f.get(b)); } }); ret l; }
Began life as a copy of #1017401
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025687 |
Snippet name: | sortInPlaceByCalculatedFieldIC |
Eternal ID of this version: | #1025687/1 |
Text MD5: | 703feeadded08677784caa19c6f678f1 |
Transpilation MD5: | 29bc95f724fbd7e59ed16da506329cfe |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-13 19:42:50 |
Source code size: | 226 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 190 / 284 |
Referenced in: | [show references] |