| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableBiMap
A builder for creating immutable bimap instances, especially
public static final bimaps ("constant bimaps").
|
static class |
ImmutableSortedMap
A builder for creating immutable sorted map instances, especially
public static final maps ("constant maps").
|
| Modifier and Type | Method and Description |
|---|---|
static <K |
ImmutableMap.builder()
Returns a new builder.
|
ImmutableMap |
ImmutableMap.Builder.put(K key, V value)
Associates
key with
value in the built map.
|
ImmutableMap |
ImmutableMap.Builder.put(Map
Adds the given
entry to the map, making it immutable if necessary.
|
ImmutableMap |
ImmutableMap.Builder.putAll(Map
Associates all of the given map's keys and values in the built map.
|