static <A> L<A> sortedByField_alphaNum(Cl<A> c, S field) { L<A> l = new ArrayList(c); sort(l, new Comparator<A>() { public int compare(A a, A b) { ret compareAlphaNum((S) getOpt(a, field), (S) getOpt(b, field)); } }); ret l; } static <A> L<A> mapMethodLike sortedByField_alphaNum(S field, Collection<A> c) { ret sortedByField_alphaNum(c, field); }
Began life as a copy of #1019491
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: | #1026507 |
Snippet name: | sortedByField_alphaNum |
Eternal ID of this version: | #1026507/3 |
Text MD5: | 0fcfd057e3ae9334d78a731b55046f80 |
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:00:24 |
Source code size: | 384 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 174 / 203 |
Version history: | 2 change(s) |
Referenced in: | [show references] |