コード例 #1
0
 public static ServiceVoLiteVoCollection buildFromBeanCollection(
     ims.admin.vo.beans.ServiceVoLiteVoBean[] beans) {
   ServiceVoLiteVoCollection coll = new ServiceVoLiteVoCollection();
   if (beans == null) return coll;
   for (int x = 0; x < beans.length; x++) {
     coll.add(beans[x].buildVo());
   }
   return coll;
 }
コード例 #2
0
 public static ServiceVoLiteVoCollection buildFromBeanCollection(java.util.Collection beans) {
   ServiceVoLiteVoCollection coll = new ServiceVoLiteVoCollection();
   if (beans == null) return coll;
   java.util.Iterator iter = beans.iterator();
   while (iter.hasNext()) {
     coll.add(((ims.admin.vo.beans.ServiceVoLiteVoBean) iter.next()).buildVo());
   }
   return coll;
 }