コード例 #1
0
 public ims.ocrr.vo.beans.NewResultInvestigationVoBean[] getBeanCollectionArray() {
   ims.ocrr.vo.beans.NewResultInvestigationVoBean[] result =
       new ims.ocrr.vo.beans.NewResultInvestigationVoBean[col.size()];
   for (int i = 0; i < col.size(); i++) {
     NewResultInvestigationVo vo = ((NewResultInvestigationVo) col.get(i));
     result[i] = (ims.ocrr.vo.beans.NewResultInvestigationVoBean) vo.getBean();
   }
   return result;
 }
コード例 #2
0
 public int compare(Object obj1, Object obj2) {
   NewResultInvestigationVo voObj1 = (NewResultInvestigationVo) obj1;
   NewResultInvestigationVo voObj2 = (NewResultInvestigationVo) obj2;
   return direction * (voObj1.compareTo(voObj2, this.caseInsensitive));
 }