Specifies the ordering of the generated multimap's values for each key. If this method is called, the sets returned by the get() method of the generated multimap and its asMap() view are ImmutableSortedSet<E> instances. However, serialization does not preserve that property, though it does maintain the key and value ordering.
Returns a new builder, expecting the specified number of entries to be added. If expectedSize is exactly the number of entries added to the builder before Builder#build is called, the builder is likely to perform better than an unsized #builder() would have. It is not specified if any performance benefits apply if expectedSize is close to, but not exactly, the number of entries added to the builder.
Guaranteed to throw an exception and leave the map unmodified.
Returns a Collector that accumulates elements into an ImmutableMap whose keys and values are the result of applying the provided mapping functions to the input elements. Entries appear in the result ImmutableMap in encounter order. If the mapped keys contain duplicates (according to Object#equals(Object), an IllegalArgumentException is thrown when the collection operation is performed. (This differs from the Collector returned by Collectors#toMap(Function, Function), which throws an IllegalStateException.)
Copies all associations from the specified range map into this builder.
Returns a builder that creates immutable sorted maps with an explicit comparator. If the comparator has a more general type than the map's keys, such as creating a SortedMap with a Comparator, use the ImmutableSortedMap.Builder<K,V> constructor instead.
A BiMap backed by two EnumMap instances. Null keys and values are not permitted. An EnumBiMap and its inverse are both serializable. See the Guava User Guide article on BiMap.