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 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(Comparator<K> comparator) |
Returns a builder that creates immutable sorted maps with an explicit comparator.
|
ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.Builder.orderEntriesByValue(Comparator<? super V> valueComparator) |
Deprecated.
|
ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.Builder.put(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(Iterable<? extends Map.Entry<? extends K,? extends V>> entries) |
Adds all the given entries to the built map.
|
ImmutableSortedMap.Builder<K,V> |
ImmutableSortedMap.Builder.putAll(Map<? extends K,? extends V> map) |
Associates all of the given map's keys and values in the built map.
|
static <K extends 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.
|