-
Returns a builder that creates immutable sorted maps whose keys are ordered by their natural
ordering.
Returns a builder that creates immutable sorted maps with an explicit comparator.
ImmutableSortedMap.Builder.put(Map.Entry<? extends K,? extends V> entry)
Adds the given entry to the map, making it immutable if necessary.
ImmutableSortedMap.Builder.put(K key,
V value)
Associates key with value in the built map.
Adds all the given entries to the built map.
ImmutableSortedMap.Builder.putAll(Map<? extends K,? extends V> map)
Associates all of the given map's keys and values in the built map.
Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of
their natural ordering.