org.jboss.kernel.plugins.dependency
Interface CollectionCreator<T extends Collection<Object>>
- Type Parameters:
T
- the collection type
public interface CollectionCreator<T extends Collection<Object>>
Collection creator.
LIST
static final CollectionCreator<List<Object>> LIST
SET
static final CollectionCreator<Set<Object>> SET
QUEUE
static final CollectionCreator<Queue<Object>> QUEUE
createCollection
T createCollection()
- Create new Collection instance.
- Returns:
- collection
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.