at.jku.risc.stout.urau.util
public class DataStructureFactory extends Object
Modifier and Type | Field and Description |
---|---|
static DataStructureFactory |
$ |
Constructor and Description |
---|
DataStructureFactory() |
Modifier and Type | Method and Description |
---|---|
<T> Deque<T> |
newDeque() |
<T> Deque<T> |
newDeque(Collection<T> toCopy) |
<T> Deque<T> |
newDeque(int size) |
<T> List<T> |
newList() |
<T> List<T> |
newList(Collection<T> toCopy) |
<T> List<T> |
newList(int size) |
<K,V> Map<K,V> |
newMap() |
<K,V> Map<K,V> |
newMap(int size) |
<K,V> Map<K,V> |
newMap(Map<K,V> toCopy) |
<T> Set<T> |
newSet() |
<T> Set<T> |
newSet(Collection<T> toCopy) |
<T> Set<T> |
newSet(int size) |
public static DataStructureFactory $
public <T> Deque<T> newDeque()
public <T> Deque<T> newDeque(Collection<T> toCopy)
public <T> Deque<T> newDeque(int size)
public <T> List<T> newList()
public <T> List<T> newList(Collection<T> toCopy)
public <T> List<T> newList(int size)
public <K,V> Map<K,V> newMap()
public <K,V> Map<K,V> newMap(int size)
public <T> Set<T> newSet()
public <T> Set<T> newSet(Collection<T> toCopy)
public <T> Set<T> newSet(int size)