1 | static <A> L<A> sortByFieldInPlace(L<A> l, S field) { |
2 | sort(l, fieldComparator(field)); |
3 | ret l; |
4 | } |
5 | |
6 | static <A> L<A> mapMethodLike sortByFieldInPlace(S field, L<A> l) { |
7 | ret sortByFieldInPlace(l, field); |
8 | } |
Began life as a copy of #1019101
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023563 |
Snippet name: | sortByFieldInPlace |
Eternal ID of this version: | #1023563/3 |
Text MD5: | fe21fb67a94a1af48762807fe9a79ed7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-29 02:38:50 |
Source code size: | 213 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 312 / 367 |
Version history: | 2 change(s) |
Referenced in: | [show references] |