net.ontopia.utils
Interface CollectionFactoryIF

All Known Implementing Classes:
CollectionFactory, SynchronizedCollectionFactory

public interface CollectionFactoryIF

INTERNAL: Factory that creates collection objects.

Implementations should be made if it is necessary to work with customized collection classes. Classes that use a collection factory instead of creating collection objects itself, will be able to work with multiple collection implementations.


Method Summary
 java.util.List makeLargeList()
          INTERNAL: Creates a list that is expected to contain a large number of objects.
 java.util.Map makeLargeMap()
          INTERNAL: Creates a map that is expected to contain a large number of objects.
 java.util.Set makeLargeSet()
          INTERNAL: Creates a set that is expected to contain a large number of objects.
 java.util.List makeSmallList()
          INTERNAL: Creates a list that is expected to contain a small number of objects.
 java.util.Map makeSmallMap()
          INTERNAL: Creates a map that is expected to contain a small number of objects.
 java.util.Set makeSmallSet()
          INTERNAL: Creates a set that is expected to contain a small number of objects.
 

Method Detail

makeSmallSet

java.util.Set makeSmallSet()
INTERNAL: Creates a set that is expected to contain a small number of objects.


makeLargeSet

java.util.Set makeLargeSet()
INTERNAL: Creates a set that is expected to contain a large number of objects.


makeSmallMap

java.util.Map makeSmallMap()
INTERNAL: Creates a map that is expected to contain a small number of objects.


makeLargeMap

java.util.Map makeLargeMap()
INTERNAL: Creates a map that is expected to contain a large number of objects.


makeSmallList

java.util.List makeSmallList()
INTERNAL: Creates a list that is expected to contain a small number of objects.


makeLargeList

java.util.List makeLargeList()
INTERNAL: Creates a list that is expected to contain a large number of objects.



Copyright © 2000-2009 Ontopia.