public static LookupTypeCacheVoCollection buildFromBeanCollection( ims.core.vo.beans.LookupTypeCacheVoBean[] beans) { LookupTypeCacheVoCollection coll = new LookupTypeCacheVoCollection(); if (beans == null) return coll; for (int x = 0; x < beans.length; x++) { coll.add(beans[x].buildVo()); } return coll; }
public static LookupTypeCacheVoCollection buildFromBeanCollection(java.util.Collection beans) { LookupTypeCacheVoCollection coll = new LookupTypeCacheVoCollection(); if (beans == null) return coll; java.util.Iterator iter = beans.iterator(); while (iter.hasNext()) { coll.add(((ims.core.vo.beans.LookupTypeCacheVoBean) iter.next()).buildVo()); } return coll; }