Package edu.stanford.nlp.util
Class CollectionFactory.TreeSetFactory<T>
- java.lang.Object
-
- edu.stanford.nlp.util.CollectionFactory<T>
-
- edu.stanford.nlp.util.CollectionFactory.TreeSetFactory<T>
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CollectionFactory<T>
public static class CollectionFactory.TreeSetFactory<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
Constructors Constructor Description TreeSetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<T>newCollection()Collection<T>newEmptyCollection()Collection<T>newSingletonCollection(T t)-
Methods inherited from class edu.stanford.nlp.util.CollectionFactory
arrayListFactory, arrayListFactory, hashSetFactory, linkedListFactory, treeSetFactory
-
-
-
-
Method Detail
-
newCollection
public Collection<T> newCollection()
- Specified by:
newCollectionin classCollectionFactory<T>
-
newEmptyCollection
public Collection<T> newEmptyCollection()
- Specified by:
newEmptyCollectionin classCollectionFactory<T>
-
newSingletonCollection
public Collection<T> newSingletonCollection(T t)
- Specified by:
newSingletonCollectionin classCollectionFactory<T>
-
-