public class Generic extends Object
Sets, Lists and
 Maps from Google
 Collections.| Modifier and Type | Field and Description | 
|---|---|
| static int | CHM_CONCURRENCY_LEVEL | 
| static int | CHM_INITIAL_CAPACITYOur default ConcurrentHashMap sizes. | 
| static float | CHM_LOAD_FACTOR | 
| Constructor and Description | 
|---|
| Generic() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <K,V> ConcurrentMap<K,V> | concurrentMap()Makes a ConcurrentMap using generic types inferred from whatever this is being
 assigned to. | 
| static <E> Set<E> | concurrentSet()Makes a Set, ensuring safe concurrent operations, using generic types inferred from
 whatever this is being assigned to. | 
| static <K,V> Map<K,V> | identityHashMap()Makes an IdentityHashMap using generic types inferred from whatever this is being
 assigned to. | 
| static <K,V> Map<K,V> | identityHashMap(int capacity)Makes an IdentityHashMap using generic types inferred from whatever this is being
 assigned to. | 
| static <E> Set<E> | linkedHashSet()Makes a LinkedHashSet using the generic type inferred from whatever this is being assigned to. | 
| static <E> Set<E> | linkedHashSet(int capacity)Makes a LinkedHashSet using the generic type inferred from whatever this is being assigned to. | 
| static <T> List<T> | list()Makes a List with its generic type inferred from whatever it's being assigned to. | 
| static <T> List<T> | list(int capacity)Makes a List with its generic type inferred from whatever it's being assigned to. | 
| static <T,U extends T> | list(U... contents)Makes a List with its generic type inferred from whatever it's being assigned to filled with
 the items in  contents. | 
| static <K,V> Map<K,V> | map()Makes a Map using generic types inferred from whatever this is being assigned to. | 
| static <E> Set<E> | set()Makes a Set using the generic type inferred from whatever this is being assigned to. | 
| static <T,U extends T> | set(U... contents)Makes a Set using the generic type inferred from whatever this is being assigned to filled
 with the items in  contents. | 
public static final int CHM_INITIAL_CAPACITY
public static final float CHM_LOAD_FACTOR
public static final int CHM_CONCURRENCY_LEVEL
public static <T> List<T> list()
public static <T> List<T> list(int capacity)
@SafeVarargs public static <T,U extends T> List<T> list(U... contents)
contents.public static <K,V> Map<K,V> map()
public static <K,V> Map<K,V> identityHashMap()
public static <K,V> Map<K,V> identityHashMap(int capacity)
public static <K,V> ConcurrentMap<K,V> concurrentMap()
public static <E> Set<E> set()
public static <E> Set<E> linkedHashSet()
public static <E> Set<E> linkedHashSet(int capacity)
@SafeVarargs public static <T,U extends T> Set<T> set(U... contents)
contents.public static <E> Set<E> concurrentSet()