net.sf.beanlib.spi.replicator
Interface CollectionReplicatorSpi
- All Known Implementing Classes:
- CollectionReplicator, Hibernate3CollectionReplicator
public interface CollectionReplicatorSpi
Collection Replicator API.
- Author:
- Joe D. Velopar
replicateCollection
<V,T> T replicateCollection(Collection<V> fromCollection,
Class<T> toClass)
- Returns a replicated collection.
- Type Parameters:
V
- component type of the from collectionT
- target class type- Parameters:
fromCollection
- from collectiontoClass
- target class