public ims.ocrr.vo.beans.ResultCommentsVoBean[] getBeanCollectionArray() { ims.ocrr.vo.beans.ResultCommentsVoBean[] result = new ims.ocrr.vo.beans.ResultCommentsVoBean[col.size()]; for (int i = 0; i < col.size(); i++) { ResultCommentsVo vo = ((ResultCommentsVo) col.get(i)); result[i] = (ims.ocrr.vo.beans.ResultCommentsVoBean) vo.getBean(); } return result; }
public int compare(Object obj1, Object obj2) { ResultCommentsVo voObj1 = (ResultCommentsVo) obj1; ResultCommentsVo voObj2 = (ResultCommentsVo) obj2; return direction * (voObj1.compareTo(voObj2, this.caseInsensitive)); }