|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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> java.util.Set<T> makeSmallSet()
CollectionFactoryIF
makeSmallSet
in interface CollectionFactoryIF
public <T> java.util.Set<T> makeLargeSet()
CollectionFactoryIF
makeLargeSet
in interface CollectionFactoryIF
public <K,V> java.util.Map<K,V> makeSmallMap()
CollectionFactoryIF
makeSmallMap
in interface CollectionFactoryIF
public <K,V> java.util.Map<K,V> makeLargeMap()
CollectionFactoryIF
makeLargeMap
in interface CollectionFactoryIF
public <T> java.util.List<T> makeSmallList()
CollectionFactoryIF
makeSmallList
in interface CollectionFactoryIF
public <T> java.util.List<T> makeLargeList()
CollectionFactoryIF
makeLargeList
in interface CollectionFactoryIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |