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