static <A> L<A> sortedByFieldIgnoreCase(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 compareIgnoreCase(unnull((S) getOpt(a, field)), unnull((S) getOpt(b, field))); } }); ret l; } static <A> L<A> sortedByFieldIgnoreCase(S field, Collection<A> c) { ret sortedByFieldIgnoreCase(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, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004963 | 
| Snippet name: | sortedByFieldIgnoreCase | 
| Eternal ID of this version: | #1004963/1 | 
| Text MD5: | 9fd4a8ead2ba030cb9e133de47b1b183 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2016-09-18 18:53:44 | 
| Source code size: | 414 bytes / 14 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 829 / 875 | 
| Referenced in: | [show references] |