|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.utils.SynchronizedCollectionFactory
public class SynchronizedCollectionFactory
INTERNAL: A collection factory that returns synchronized standard java.util collection objects.
| Field Summary | |
|---|---|
protected int |
initsize
|
| Constructor Summary | |
|---|---|
SynchronizedCollectionFactory()
|
|
SynchronizedCollectionFactory(int initsize)
|
|
| 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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int initsize
| Constructor Detail |
|---|
public SynchronizedCollectionFactory()
public SynchronizedCollectionFactory(int initsize)
| Method Detail |
|---|
public <T> Set<T> makeSmallSet()
CollectionFactoryIF
makeSmallSet in interface CollectionFactoryIFpublic <T> Set<T> makeLargeSet()
CollectionFactoryIF
makeLargeSet in interface CollectionFactoryIFpublic <K,V> Map<K,V> makeSmallMap()
CollectionFactoryIF
makeSmallMap in interface CollectionFactoryIFpublic <K,V> Map<K,V> makeLargeMap()
CollectionFactoryIF
makeLargeMap in interface CollectionFactoryIFpublic <T> List<T> makeSmallList()
CollectionFactoryIF
makeSmallList in interface CollectionFactoryIFpublic <T> List<T> makeLargeList()
CollectionFactoryIF
makeLargeList in interface CollectionFactoryIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||