标签:get compareto nbsp notice code com builder lang out
import org.apache.commons.lang.builder.CompareToBuilder;
Collections.sort(outboundNotices, new Comparator<OutboundNoticePrintRespVO>() { @Override public int compare(OutboundNoticePrintRespVO o1, OutboundNoticePrintRespVO o2) { return new CompareToBuilder() .append(o1.getOnhWaveRoundNo(), o2.getOnhWaveRoundNo()) .append(o1.getOnhWaveAssortCellNo(), o2.getOnhWaveAssortCellNo()) .toComparison(); }
标签:get compareto nbsp notice code com builder lang out
原文地址:http://www.cnblogs.com/tonggc1668/p/7373792.html