static <K,V> ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.builder() |
Deprecated.
|
static <K,V> ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.builderWithExpectedSize(int expectedSize) |
Deprecated.
|
static <K extends java.lang.Comparable<?>,V> ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.naturalOrder() |
Returns a builder that creates immutable sorted maps whose keys are ordered by their natural
ordering.
|
static <K,V> ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.orderedBy(java.util.Comparator<K> comparator) |
Returns a builder that creates immutable sorted maps with an explicit comparator.
|
ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.Builder.orderEntriesByValue(java.util.Comparator<? super V> valueComparator) |
Deprecated.
|
ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.Builder.put(java.util.Map.Entry<? extends K,? extends V> entry) |
Adds the given entry to the map, making it immutable if necessary.
|
ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.Builder.put(K key,
V value) |
Associates key with value in the built map.
|
ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.Builder.putAll(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries) |
Adds all the given entries to the built map.
|
ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.Builder.putAll(java.util.Map<? extends K,? extends V> map) |
Associates all of the given map's keys and values in the built map.
|
static <K extends java.lang.Comparable<?>,V> ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.reverseOrder() |
Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of
their natural ordering.
|