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