Sets, Lists and
Maps from Google
Collections.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | CHM_INITIAL_CAPACITY
Our default ConcurrentHashMap sizes. |
| public static final float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <K, V> ConcurrentMap | concurrentMap()
Makes a ConcurrentMap using generic types inferred from whatever this is being assigned to. |
| public static <E> Set | concurrentSet()
Makes a Set, ensuring safe concurrent operations, using generic types inferred from whatever this is being assigned to. |
| public static <K, V> Map | identityHashMap()
Makes an IdentityHashMap using generic types inferred from whatever this is being assigned to. |
| public static <K, V> Map | identityHashMap(int capacity)
Makes an IdentityHashMap using generic types inferred from whatever this is being assigned to. |
| public static <E> Set | linkedHashSet()
Makes a LinkedHashSet using the generic type inferred from whatever this is being assigned to. |
| public static <E> Set | linkedHashSet(int capacity)
Makes a LinkedHashSet using the generic type inferred from whatever this is being assigned to. |
| public static <T> List | |
| public static <T> List | |
| public static <T, U extends T> List | list(U... contents)
Makes a List with its generic type inferred from whatever it's being assigned to filled with
the items in |
| public static <K, V> Map | |
| public static <E> Set | |
| public static <T, U extends T> Set | set(U... contents)
Makes a Set using the generic type inferred from whatever this is being assigned to filled
with the items in |
| CHM_CONCURRENCY_LEVEL | back to summary |
|---|---|
| public static final int CHM_CONCURRENCY_LEVEL | |
| CHM_INITIAL_CAPACITY | back to summary |
|---|---|
| public static final int CHM_INITIAL_CAPACITY Our default ConcurrentHashMap sizes. Only concurreny level differs from ConcurrentHashMap's defaults: it's significantly lower to reduce allocation cost. | |
| CHM_LOAD_FACTOR | back to summary |
|---|---|
| public static final float CHM_LOAD_FACTOR | |
| Generic | back to summary |
|---|---|
| public Generic() | |
| concurrentMap | back to summary |
|---|---|
| public static <K, V> ConcurrentMap Makes a ConcurrentMap using generic types inferred from whatever this is being assigned to. | |
| concurrentSet | back to summary |
|---|---|
| public static <E> Set Makes a Set, ensuring safe concurrent operations, using generic types inferred from whatever this is being assigned to. | |
| identityHashMap | back to summary |
|---|---|
| public static <K, V> Map Makes an IdentityHashMap using generic types inferred from whatever this is being assigned to. | |
| identityHashMap | back to summary |
|---|---|
| public static <K, V> Map Makes an IdentityHashMap using generic types inferred from whatever this is being assigned to. Sets initial capacity accordingly. | |
| linkedHashSet | back to summary |
|---|---|
| public static <E> Set Makes a LinkedHashSet using the generic type inferred from whatever this is being assigned to. | |
| linkedHashSet | back to summary |
|---|---|
| public static <E> Set Makes a LinkedHashSet using the generic type inferred from whatever this is being assigned to. Sets initial capacity accordingly. | |
| list | back to summary |
|---|---|
| public static <T> List Makes a List with its generic type inferred from whatever it's being assigned to. | |
| list | back to summary |
|---|---|
| public static <T> List Makes a List with its generic type inferred from whatever it's being assigned to. Sets initial capacity accordingly. | |
| list | back to summary |
|---|---|
| public static <T, U extends T> List Makes a List with its generic type inferred from whatever it's being assigned to filled with
the items in
| |
| map | back to summary |
|---|---|
| public static <K, V> Map Makes a Map using generic types inferred from whatever this is being assigned to. | |
| set | back to summary |
|---|---|
| public static <E> Set Makes a Set using the generic type inferred from whatever this is being assigned to. | |
| set | back to summary |
|---|---|
| public static <T, U extends T> Set Makes a Set using the generic type inferred from whatever this is being assigned to filled
with the items in
| |