static <A> L<A> sortedByFieldIC(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 compareIC((S) getOpt(a, field), (S) getOpt(b, field)); } }); ret l; } static <A> L<A> mapMethodLike sortedByFieldIC(S field, Collection<A> c) { ret sortedByFieldIC(c, field); }
Began life as a copy of #1002452
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014032 |
| Snippet name: | sortedByFieldIC - case-insensitive |
| Eternal ID of this version: | #1014032/6 |
| Text MD5: | 9a0ee6e8cff8062dc5bbeab7cc8c68d2 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-09 21:20:50 |
| Source code size: | 371 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 753 / 774 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |