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

9
LINES

< > BotCompany Repo | #1005303 - sortedByFieldDesc

JavaX fragment (include)

static <A> L<A> sortedByFieldDesc(Collection<A> c, S field) {
  L<A> l = new ArrayList(c);
  sort(l, descFieldComparator(field));
  ret l;
}

static <A> L<A> mapMethodLike sortedByFieldDesc(S field, Collection<A> c) {
  ret sortedByFieldDesc(c, field);
}

Author comment

Began life as a copy of #1002452

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005303
Snippet name: sortedByFieldDesc
Eternal ID of this version: #1005303/3
Text MD5: 4b185acbbbf67ca030b8127dd2669eee
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-29 23:37:25
Source code size: 262 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 356 / 378
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1005303 & http://1005303.tinybrain.de