public static class CollectionFactory.TreeSetFactory<T> extends CollectionFactory<T>
CollectionFactory.ArrayListFactory<T>, CollectionFactory.HashSetFactory<T>, CollectionFactory.LinkedListFactory<T>, CollectionFactory.SizedArrayListFactory<T>, CollectionFactory.TreeSetFactory<T>
ARRAY_LIST_FACTORY, HASH_SET_FACTORY, LINKED_LIST_FACTORY, TREE_SET_FACTORY
Constructor and Description |
---|
TreeSetFactory() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<T> |
newCollection() |
java.util.Collection<T> |
newEmptyCollection() |
java.util.Collection<T> |
newSingletonCollection(T t) |
arrayListFactory, arrayListFactory, hashSetFactory, linkedListFactory, treeSetFactory
public java.util.Collection<T> newCollection()
newCollection
in class CollectionFactory<T>
public java.util.Collection<T> newEmptyCollection()
newEmptyCollection
in class CollectionFactory<T>
public java.util.Collection<T> newSingletonCollection(T t)
newSingletonCollection
in class CollectionFactory<T>