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
<T> java.util.List<T>
makeLargeList()
          INTERNAL: Creates a list that is expected to contain a large number of objects.
<V,K> java.util.Map<V,K>
makeLargeMap()
          INTERNAL: Creates a map that is expected to contain a large number of objects.
<T> java.util.Set<T>
makeLargeSet()
          INTERNAL: Creates a set that is expected to contain a large number of objects.
<T> java.util.List<T>
makeSmallList()
          INTERNAL: Creates a list that is expected to contain a small number of objects.
<V,K> java.util.Map<V,K>
makeSmallMap()
          INTERNAL: Creates a map that is expected to contain a small number of objects.
<T> java.util.Set<T>
makeSmallSet()
          INTERNAL: Creates a set that is expected to contain a small number of objects.
 

Method Detail

makeSmallSet

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


makeLargeSet

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


makeSmallMap

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


makeLargeMap

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


makeSmallList

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


makeLargeList

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



Copyright © 2000-2012 Ontopia.