|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | ||
---|---|---|
|
makeLargeList()
INTERNAL: Creates a list that is expected to contain a large number of objects. |
|
|
makeLargeMap()
INTERNAL: Creates a map that is expected to contain a large number of objects. |
|
|
makeLargeSet()
INTERNAL: Creates a set 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. |
|
|
makeSmallMap()
INTERNAL: Creates a map that is expected to contain a small number of objects. |
|
|
makeSmallSet()
INTERNAL: Creates a set that is expected to contain a small number of objects. |
Method Detail |
---|
<T> java.util.Set<T> makeSmallSet()
<T> java.util.Set<T> makeLargeSet()
<V,K> java.util.Map<V,K> makeSmallMap()
<V,K> java.util.Map<V,K> makeLargeMap()
<T> java.util.List<T> makeSmallList()
<T> java.util.List<T> makeLargeList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |