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

5
LINES

< > BotCompany Repo | #1029897 // sortByCalculatedFieldICDesc

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

Libraryless. Click here for Pure Java version (2548L/16K).

static <A> L<A> sortByCalculatedFieldICDesc(Iterable<A> c, IF1<A, S> f) {
  L<A> l = cloneList(c);
  sort(l, (b, a) -> compareIC(f.get(a), f.get(b)));
  ret l;
}

Author comment

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: 141 / 205
Referenced in: [show references]