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