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