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

22
LINES

< > BotCompany Repo | #1026750 // sortedByFunctionDesc - synonym of sortByCalculatedFieldDesc

JavaX fragment (include)

// f: A -> Comparable
static <A> L<A> sortedByFunctionDesc(Collection<A> c, fO f) {
  ret sortByCalculatedFieldDesc(c, f);
}



static <A> L<A> sortedByFunctionDesc(O f, Collection<A> c) {
  ret sortByCalculatedFieldDesc(f, c);
}



static <A, B> L<A> sortedByFunctionDesc(Iterable<A> c, IF1<A, B> f) {
  ret sortByCalculatedFieldDesc(c, f);
}



static <A, B> L<A> sortedByFunctionDesc(IF1<A, B> f, Iterable<A> c) {
  ret sortByCalculatedFieldDesc(f, c);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026750
Snippet name: sortedByFunctionDesc - synonym of sortByCalculatedFieldDesc
Eternal ID of this version: #1026750/1
Text MD5: a71bfc6dc6092c6f61e00db41ad1bffa
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-20 13:24:04
Source code size: 464 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 97 / 121
Referenced in: [show references]