Libraryless. Click here for Pure Java version (9993L/55K).
static <A> L<A> sortedByIC(Iterable<A> c, IF1<A, S> f) { L<A> l = cloneList(c); sort(l, (a, b) -> compareIC(f.get(a), f.get(b))); ret l; } static <A> L<A> lambdaMapLike sortedByIC(IF1<A, S> f, Iterable<A> c) { ret sortedByIC(c, f); }
Began life as a copy of #1016503
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036503 |
Snippet name: | sortedByIC - better synonym of sortByCalculatedFieldIC |
Eternal ID of this version: | #1036503/4 |
Text MD5: | fedb527683f8c595f58170ec16bcb6f3 |
Transpilation MD5: | 52aed4fdf70212b8b11a0c87824dba55 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-01-07 20:50:19 |
Source code size: | 250 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 146 / 201 |
Version history: | 3 change(s) |
Referenced in: | [show references] |