net.sf.oval.collection
Class CollectionFactoryJavolutionImpl

java.lang.Object
  extended by net.sf.oval.collection.CollectionFactoryJavolutionImpl
All Implemented Interfaces:
CollectionFactory

public class CollectionFactoryJavolutionImpl
extends Object
implements CollectionFactory

Author:
Sebastian Thomschke

Constructor Summary
CollectionFactoryJavolutionImpl()
           
 
Method Summary
<ItemType> List<ItemType>
createList()
          Instantiate an ArrayList like list object
<ItemType> List<ItemType>
createList(int initialCapacity)
          Instantiate an ArrayList like list object
<KeyType,ValueType>
Map<KeyType,ValueType>
createMap()
          Instantiate a HashMap like map object
<KeyType,ValueType>
Map<KeyType,ValueType>
createMap(int initialCapacity)
          Instantiate a HashMap like map object
<ItemType> Set<ItemType>
createSet()
          Instantiate a HashSet like set object
<ItemType> Set<ItemType>
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

CollectionFactoryJavolutionImpl

public CollectionFactoryJavolutionImpl()
Method Detail

createList

public <ItemType> List<ItemType> createList()
Instantiate an ArrayList like list object

Specified by:
createList in interface CollectionFactory
Returns:
a new list

createList

public <ItemType> List<ItemType> createList(int initialCapacity)
Instantiate an ArrayList like list object

Specified by:
createList in interface CollectionFactory
Returns:
a new list

createMap

public <KeyType,ValueType> Map<KeyType,ValueType> createMap()
Instantiate a HashMap like map object

Specified by:
createMap in interface CollectionFactory
Returns:
a new map

createMap

public <KeyType,ValueType> Map<KeyType,ValueType> createMap(int initialCapacity)
Instantiate a HashMap like map object

Specified by:
createMap in interface CollectionFactory
Returns:
a new map

createSet

public <ItemType> Set<ItemType> createSet()
Instantiate a HashSet like set object

Specified by:
createSet in interface CollectionFactory
Returns:
a new set

createSet

public <ItemType> Set<ItemType> createSet(int initialCapacity)
Instantiate a HashSet like set object

Specified by:
createSet in interface CollectionFactory
Returns:
a new set


Copyright © 2005–2015 The OVal Development Team. All rights reserved.