edu.stanford.nlp.util
Class CollectionFactory.SizedArrayListFactory<T>

java.lang.Object
  extended by edu.stanford.nlp.util.CollectionFactory<T>
      extended by edu.stanford.nlp.util.CollectionFactory.SizedArrayListFactory<T>
All Implemented Interfaces:
Serializable
Enclosing class:
CollectionFactory<T>

public static class CollectionFactory.SizedArrayListFactory<T>
extends CollectionFactory<T>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.stanford.nlp.util.CollectionFactory
CollectionFactory.ArrayListFactory<T>, CollectionFactory.HashSetFactory<T>, CollectionFactory.LinkedListFactory<T>, CollectionFactory.SizedArrayListFactory<T>, CollectionFactory.TreeSetFactory<T>
 
Field Summary
 
Fields inherited from class edu.stanford.nlp.util.CollectionFactory
ARRAY_LIST_FACTORY, HASH_SET_FACTORY, LINKED_LIST_FACTORY, TREE_SET_FACTORY
 
Constructor Summary
CollectionFactory.SizedArrayListFactory(int size)
           
 
Method Summary
 Collection<T> newCollection()
           
 Collection<T> newEmptyCollection()
           
 
Methods inherited from class edu.stanford.nlp.util.CollectionFactory
arrayListFactory, arrayListFactory, hashSetFactory, linkedListFactory, treeSetFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionFactory.SizedArrayListFactory

public CollectionFactory.SizedArrayListFactory(int size)
Method Detail

newCollection

public Collection<T> newCollection()
Specified by:
newCollection in class CollectionFactory<T>

newEmptyCollection

public Collection<T> newEmptyCollection()
Specified by:
newEmptyCollection in class CollectionFactory<T>


Stanford NLP Group