Class CollectionFactory

java.lang.Object
net.ontopia.utils.CollectionFactory
All Implemented Interfaces:
Serializable, CollectionFactoryIF

public class CollectionFactory extends Object implements CollectionFactoryIF, Serializable
INTERNAL: A collection factory that returns non-synchronized standard java.util collection objects.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    CollectionFactory(int initsize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • initsize

      protected int initsize
  • Constructor Details

    • CollectionFactory

      public CollectionFactory()
    • CollectionFactory

      public CollectionFactory(int initsize)
  • Method Details