public class DS extends Object
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
list() |
static <T> List<T> |
list(int initialSize) |
static <T> List<T> |
list(List<T> other) |
static <T> List<T> |
listOfNone() |
static <T> List<T> |
listOfOne(T element) |
static <K,V> Map<K,V> |
map() |
static <K,V> Map<K,V> |
map(int initialSize) |
static <K,V> Map<K,V> |
map(Map<K,V> other) |
static <K,V> Map<K,V> |
mapOfNone() |
static <K,V> Map<K,V> |
mapOfOne(K key,
V value) |
static <X> Set<X> |
set() |
static <X> Set<X> |
set(int initialSize) |
static <X> Set<X> |
set(Set<X> other) |
static <X> Set<X> |
setOfNone() |
static <X> Set<X> |
setOfOne(X element) |
public static <X> Set<X> setOfNone()
public static <X> Set<X> setOfOne(X element)
public static <X> Set<X> set()
public static <X> Set<X> set(int initialSize)
public static <K,V> Map<K,V> mapOfNone()
public static <K,V> Map<K,V> mapOfOne(K key, V value)
public static <K,V> Map<K,V> map()
public static <K,V> Map<K,V> map(int initialSize)
public static <T> List<T> listOfNone()
public static <T> List<T> listOfOne(T element)
public static <T> List<T> list()
public static <T> List<T> list(int initialSize)
Licenced under the Apache License, Version 2.0