public class SynchronizedCollectionFactory extends Object implements CollectionFactoryIF, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
initsize |
| Constructor and Description |
|---|
SynchronizedCollectionFactory() |
SynchronizedCollectionFactory(int initsize) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
makeLargeList()
INTERNAL: Creates a list that is expected to contain a large
number of objects.
|
<K,V> Map<K,V> |
makeLargeMap()
INTERNAL: Creates a map that is expected to contain a large
number of objects.
|
<T> Set<T> |
makeLargeSet()
INTERNAL: Creates a set that is expected to contain a large
number of objects.
|
<T> List<T> |
makeSmallList()
INTERNAL: Creates a list that is expected to contain a small
number of objects.
|
<K,V> Map<K,V> |
makeSmallMap()
INTERNAL: Creates a map that is expected to contain a small
number of objects.
|
<T> Set<T> |
makeSmallSet()
INTERNAL: Creates a set that is expected to contain a small
number of objects.
|
public SynchronizedCollectionFactory()
public SynchronizedCollectionFactory(int initsize)
public <T> Set<T> makeSmallSet()
CollectionFactoryIFmakeSmallSet in interface CollectionFactoryIFpublic <T> Set<T> makeLargeSet()
CollectionFactoryIFmakeLargeSet in interface CollectionFactoryIFpublic <K,V> Map<K,V> makeSmallMap()
CollectionFactoryIFmakeSmallMap in interface CollectionFactoryIFpublic <K,V> Map<K,V> makeLargeMap()
CollectionFactoryIFmakeLargeMap in interface CollectionFactoryIFpublic <T> List<T> makeSmallList()
CollectionFactoryIFmakeSmallList in interface CollectionFactoryIFpublic <T> List<T> makeLargeList()
CollectionFactoryIFmakeLargeList in interface CollectionFactoryIF