Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
com.google.thirdparty.publicsuffix |
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableBiMap.Builder<K,V>
A builder for creating immutable bimap instances, especially
public
static final bimaps ("constant bimaps"). |
static class |
ImmutableSortedMap.Builder<K,V>
A builder for creating immutable sorted map instances, especially
public static final maps ("constant maps"). |
Modifier and Type | Field and Description |
---|---|
private ImmutableMap.Builder<java.lang.Class<? extends B>,B> |
ImmutableClassToInstanceMap.Builder.mapBuilder |
Modifier and Type | Method and Description |
---|---|
static <K,V> ImmutableMap.Builder<K,V> |
ImmutableMap.builder()
Returns a new builder.
|
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.put(K key,
V value)
Associates
key with value in the built map. |
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.put(java.util.Map.Entry<? extends K,? extends V> entry)
Adds the given
entry to the map, making it immutable if
necessary. |
ImmutableMap.Builder<K,V> |
ImmutableMap.Builder.putAll(java.util.Map<? extends K,? extends V> map)
Associates all of the given map's keys and values in the built map.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Object |
ImmutableMap.SerializedForm.createMap(ImmutableMap.Builder<java.lang.Object,java.lang.Object> builder) |
Modifier and Type | Field and Description |
---|---|
private ImmutableMap.Builder<TypeToken<? extends B>,B> |
ImmutableTypeToInstanceMap.Builder.mapBuilder |
Modifier and Type | Method and Description |
---|---|
private static int |
TrieParser.doParseTrieToBuilder(java.util.List<java.lang.CharSequence> stack,
java.lang.CharSequence encoded,
ImmutableMap.Builder<java.lang.String,PublicSuffixType> builder)
Parses a trie node and returns the number of characters consumed.
|