static <A> L<A> sortedByFieldDesc_alphaNum(Collection<A> c, final S field) { L<A> l = new ArrayList(c); sort(l, new Comparator<A>() { public int compare(A a, A b) { ret compareAlphaNum((S) getOpt(b, field), (S) getOpt(a, field)); } }); ret l; } static <A> L<A> mapMethodLike sortedByFieldDesc_alphaNum(S field, Collection<A> c) { ret sortedByFieldDesc_alphaNum(c, field); }
Began life as a copy of #1014032
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1019491 |
Snippet name: | sortedByFieldDesc_alphaNum |
Eternal ID of this version: | #1019491/6 |
Text MD5: | e70f547fe9f31a099c08a1da1cc47313 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-07 17:27:23 |
Source code size: | 410 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 242 / 295 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026507 - sortedByField_alphaNum |