/** * Transforms a collection. * <p> * The transformer itself may throw an exception if necessary. * * @param coll the collection to transform * @return a transformed object */ protected Collection transform(Collection coll) { List list = new ArrayList(coll.size()); for (Iterator it = coll.iterator(); it.hasNext(); ) { list.add(transform(it.next())); } return list; }
public boolean addAll(Collection coll) { coll = transform(coll); return getCollection().addAll(coll); }
public boolean add(Object object) { object = transform(object); return getCollection().add(object); }
/** * Transforms a collection. * <p> * The transformer itself may throw an exception if necessary. * * @param coll the collection to transform * @return a transformed object */ protected Collection transform(Collection coll) { List list = new ArrayList(coll.size()); for (Iterator it = coll.iterator(); it.hasNext(); ) { list.add(transform(it.next())); } return list; }
public boolean addAll(Collection coll) { coll = transform(coll); return getCollection().addAll(coll); }
public boolean add(Object object) { object = transform(object); return getCollection().add(object); }
/** * Transforms a collection. * <p> * The transformer itself may throw an exception if necessary. * * @param coll the collection to transform * @return a transformed object */ protected Collection transform(Collection coll) { List list = new ArrayList(coll.size()); for (Iterator it = coll.iterator(); it.hasNext(); ) { list.add(transform(it.next())); } return list; }
/** * Transforms a collection. * <p> * The transformer itself may throw an exception if necessary. * * @param coll the collection to transform * @return a transformed object */ protected Collection transform(Collection coll) { List list = new ArrayList(coll.size()); for (Iterator it = coll.iterator(); it.hasNext(); ) { list.add(transform(it.next())); } return list; }
/** * Transforms a collection. * <p> * The transformer itself may throw an exception if necessary. * * @param coll the collection to transform * @return a transformed object */ protected Collection transform(Collection coll) { List list = new ArrayList(coll.size()); for (Iterator it = coll.iterator(); it.hasNext(); ) { list.add(transform(it.next())); } return list; }
/** * Transforms a collection. * <p> * The transformer itself may throw an exception if necessary. * * @param coll the collection to transform * @return a transformed object */ protected Collection transform(Collection coll) { List list = new ArrayList(coll.size()); for (Iterator it = coll.iterator(); it.hasNext(); ) { list.add(transform(it.next())); } return list; }
public boolean add(Object object) { object = transform(object); return getCollection().add(object); }
public boolean addAll(Collection coll) { coll = transform(coll); return getCollection().addAll(coll); }
public boolean addAll(Collection coll) { coll = transform(coll); return getCollection().addAll(coll); }
public boolean addAll(Collection coll) { coll = transform(coll); return getCollection().addAll(coll); }
public boolean add(Object object) { object = transform(object); return getCollection().add(object); }
public boolean add(Object object) { object = transform(object); return getCollection().add(object); }
public boolean addAll(Collection coll) { coll = transform(coll); return getCollection().addAll(coll); }
public boolean add(Object object) { object = transform(object); return getCollection().add(object); }
public boolean add(Object object) { object = transform(object); return getCollection().add(object); }
public boolean addAll(Collection coll) { coll = transform(coll); return getCollection().addAll(coll); }