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