A builder for creating immutable sorted map instances, especially public static final maps ("constant maps"). Example: static final ImmutableSortedMap INT_TO_WORD = new ImmutableSortedMap.Builder(Ordering.natural()) .put(1, "one") .put(2, "two") .put(3, "three") .build(); For small immutable sorted maps, the ImmutableSortedMap.of() methods are even more convenient. Builder instances can be reused - it is safe to call #build multiple times to build multiple maps in series. Each map is a superset of the maps created before it.
Returns the value from the right map (possibly null).
Implementation of Multimap<K,V> using hash tables. The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an existing key-value pair has no effect. Keys and values may be null. All optional multimap methods are supported, and all returned views are modifiable. This class is not threadsafe when any concurrent operations update the multimap. Concurrent read operations will work correctly. To allow concurrent update operations, wrap your multimap with a call to Multimaps#synchronizedSetMultimap.
An object representing the differences between two sorted maps.
A RangeMap<K,V> whose contents will never change, with many other important properties detailed at ImmutableCollection<E>.