Warning: session_start(): open(/var/lib/php/sessions/sess_m48c1sdm98cko45qdlhhh8mfdr, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
pairsSortedByB [1031678]

Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1031678 // pairsSortedByB

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2879L/17K).

static <A, B> L<Pair<A, B>> pairsSortedByB(Cl<Pair<A, B>> l) {
  ret sortedByComparator(l, (a, b) -> cmp(a.b, b.b));
}

Author comment

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: 607 / 770
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)