标签:ons color style ice compare blog span com ide
Collections.sort(list, new Comparator<PriceTypeSkuNum>() { @Override public int compare(PriceTypeSkuNum o1, PriceTypeSkuNum o2) { if(o1.getPrice() > o2.getPrice()){ return 1; } if(o1.getPrice() == o2.getPrice()){ return 0; } return -1; } });
标签:ons color style ice compare blog span com ide
原文地址:http://www.cnblogs.com/lostjoke/p/6100645.html