public static class CollectionFactory.ArrayListFactory<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 |
---|
ArrayListFactory() |
Modifier and Type | Method and Description |
---|---|
Collection<T> |
newCollection() |
Collection<T> |
newEmptyCollection() |
arrayListFactory, arrayListFactory, hashSetFactory, linkedListFactory, treeSetFactory
public Collection<T> newCollection()
newCollection
in class CollectionFactory<T>
public Collection<T> newEmptyCollection()
newEmptyCollection
in class CollectionFactory<T>