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)

1  
// f: A -> Comparable
2  
static <A> L<A> sortedByFunctionDesc(Collection<A> c, fO f) {
3  
  ret sortByCalculatedFieldDesc(c, f);
4  
}
5  
6  
7  
8  
static <A> L<A> sortedByFunctionDesc(O f, Collection<A> c) {
9  
  ret sortByCalculatedFieldDesc(f, c);
10  
}
11  
12  
13  
14  
static <A, B> L<A> sortedByFunctionDesc(Iterable<A> c, IF1<A, B> f) {
15  
  ret sortByCalculatedFieldDesc(c, f);
16  
}
17  
18  
19  
20  
static <A, B> L<A> sortedByFunctionDesc(IF1<A, B> f, Iterable<A> c) {
21  
  ret sortByCalculatedFieldDesc(f, c);
22  
}

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