Libraryless. Click here for Pure Java version (2548L/16K).
1 | static <A> L<A> sortByCalculatedFieldICDesc(Iterable<A> c, IF1<A, S> f) { |
2 | L<A> l = cloneList(c); |
3 | sort(l, (b, a) -> compareIC(f.get(a), f.get(b))); |
4 | ret l; |
5 | } |
Began life as a copy of #1016503
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029897 |
Snippet name: | sortByCalculatedFieldICDesc |
Eternal ID of this version: | #1029897/1 |
Text MD5: | a9e3849d4c2b0f7a4c2872705cd413b1 |
Transpilation MD5: | 919102944de4b70357065ef6f1dc2a15 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-28 17:28:10 |
Source code size: | 165 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 201 / 285 |
Referenced in: | [show references] |