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

7
LINES

< > BotCompany Repo | #1007683 // reverseSorted - synonym of sortedDesc - takes a Collection<A> and an optional func(A, A) -> int

JavaX fragment (include)

static <A> L<A> reverseSorted(Collection<A> c, final O comparator) {
  ret sortedDesc(c, comparator);
}

static <A> L<A> reverseSorted(Collection<A> c) {
  ret sortedDesc(c);
}

Author comment

Began life as a copy of #1006221

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007683
Snippet name: reverseSorted - synonym of sortedDesc - takes a Collection<A> and an optional func(A, A) -> int
Eternal ID of this version: #1007683/1
Text MD5: c92cfb5153ea59995b659c9a04a0f484
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-02 12:49:47
Source code size: 182 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 675 / 616
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)