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.


Field Summary
static CollectionCreator<List<Object>> LIST
           
static CollectionCreator<Queue<Object>> QUEUE
           
static CollectionCreator<Set<Object>> SET
           
 
Method Summary
 T createCollection()
          Create new Collection instance.
 

Field Detail

LIST

static final CollectionCreator<List<Object>> LIST

SET

static final CollectionCreator<Set<Object>> SET

QUEUE

static final CollectionCreator<Queue<Object>> QUEUE
Method Detail

createCollection

T createCollection()
Create new Collection instance.

Returns:
collection


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.