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

22
LINES

< > BotCompany Repo | #1032820 // sortedByDesc - synonym of sortByCalculatedFieldDesc

JavaX fragment (include)

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



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



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



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

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032820
Snippet name: sortedByDesc - synonym of sortByCalculatedFieldDesc
Eternal ID of this version: #1032820/1
Text MD5: 5bc480c076a95f4551cd3cfd3c135de4
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 11:38:53
Source code size: 446 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 85 / 103
Referenced in: [show references]