Libraryless. Click here for Pure Java version (2879L/17K).
1 | static <A, B> L<Pair<A, B>> pairsSortedByB(Cl<Pair<A, B>> l) {
|
2 | ret sortedByComparator(l, (a, b) -> cmp(a.b, b.b)); |
3 | } |
Began life as a copy of #1025274
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031678 |
| Snippet name: | pairsSortedByB |
| Eternal ID of this version: | #1031678/1 |
| Text MD5: | 3eee9162fbc7fde51847243285e10da5 |
| Transpilation MD5: | f8946955349b061918d9dff0cbed2cfb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-26 18:03:20 |
| Source code size: | 120 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 441 / 585 |
| Referenced in: | [show references] |