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