| 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.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 | Method and Description | 
|---|---|
static <K,V> ImmutableMap.Builder<K,V> | 
ImmutableMap.builder()
Returns a new builder. 
 | 
ImmutableMap.Builder<K,V> | 
ImmutableMap.Builder.orderEntriesByValue(Comparator<? super V> valueComparator)
Configures this  
Builder to order entries by value according to the specified
 comparator. | 
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(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(Iterable<? extends Map.Entry<? extends K,? extends V>> entries)
Adds all of the given entries to the built map. 
 | 
ImmutableMap.Builder<K,V> | 
ImmutableMap.Builder.putAll(Map<? extends K,? extends V> map)
Associates all of the given map's keys and values in the built map. 
 | 
Copyright © 2010-2016. All Rights Reserved.