按汉字拼音排序

    List<AcctFundBalBean> tList = new ArrayList<AcctFundBalBean>();

    tList.add..

Collections.sort(tList,new Comparator<AcctFundBalBean>() {
                        public int compare(AcctFundBalBean o1, AcctFundBalBean o2) {
                            Collator myCollator = Collator.getInstance(); 
                            return  myCollator.compare(o1.getFundManName(), o2.getFundManName());
                        }
                    });

猜你喜欢

转载自yunlong167167.iteye.com/blog/1536250