Package 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
Modifier and TypeMethodDescription<T> List<T>INTERNAL: Creates a list that is expected to contain a large number of objects.<V,K> Map<V, K> INTERNAL: Creates a map that is expected to contain a large number of objects.<T> Set<T>INTERNAL: Creates a set that is expected to contain a large number of objects.<T> List<T>INTERNAL: Creates a list that is expected to contain a small number of objects.<V,K> Map<V, K> INTERNAL: Creates a map that is expected to contain a small number of objects.<T> Set<T>INTERNAL: Creates a set that is expected to contain a small number of objects.
-
Method Details
-
makeSmallSet
INTERNAL: Creates a set that is expected to contain a small number of objects. -
makeLargeSet
INTERNAL: Creates a set that is expected to contain a large number of objects. -
makeSmallMap
INTERNAL: Creates a map that is expected to contain a small number of objects. -
makeLargeMap
INTERNAL: Creates a map that is expected to contain a large number of objects. -
makeSmallList
INTERNAL: Creates a list that is expected to contain a small number of objects. -
makeLargeList
INTERNAL: Creates a list that is expected to contain a large number of objects.
-