|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.oval.collection.CollectionFactoryJDKImpl
public class CollectionFactoryJDKImpl
Constructor Summary | |
---|---|
CollectionFactoryJDKImpl()
|
Method Summary | ||
---|---|---|
|
createList()
Instantiate an ArrayList like list object |
|
|
createList(int initialCapacity)
Instantiate an ArrayList like list object |
|
|
createMap()
Instantiate a HashMap like map object |
|
|
createMap(int initialCapacity)
Instantiate a HashMap like map object |
|
|
createSet()
Instantiate a HashSet like set object |
|
|
createSet(int initialCapacity)
Instantiate a HashSet like set object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionFactoryJDKImpl()
Method Detail |
---|
public <ValueType> List<ValueType> createList()
createList
in interface CollectionFactory
public <ValueType> List<ValueType> createList(int initialCapacity)
createList
in interface CollectionFactory
public <KeyType,ValueType> Map<KeyType,ValueType> createMap()
createMap
in interface CollectionFactory
public <KeyType,ValueType> Map<KeyType,ValueType> createMap(int initialCapacity)
createMap
in interface CollectionFactory
public <ValueType> Set<ValueType> createSet()
createSet
in interface CollectionFactory
public <ValueType> Set<ValueType> createSet(int initialCapacity)
createSet
in interface CollectionFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |