abstract class ImmutableBiMapFauxverideShim<K,V> extends ImmutableMap<K,V>
ImmutableMap
static methods that lack ImmutableBiMap
equivalents
with deprecated, exception-throwing versions. See ImmutableSortedSetFauxverideShim
for
details.ImmutableMap.Builder<K,V>, ImmutableMap.IteratorBasedImmutableMap<K,V>, ImmutableMap.SerializedForm<K,V>
EMPTY_ENTRY_ARRAY
Constructor and Description |
---|
ImmutableBiMapFauxverideShim() |
Modifier and Type | Method and Description |
---|---|
static <T,K,V> java.util.stream.Collector<T,?,ImmutableMap<K,V>> |
toImmutableMap(java.util.function.Function<? super T,? extends K> keyFunction,
java.util.function.Function<? super T,? extends V> valueFunction)
|
static <T,K,V> java.util.stream.Collector<T,?,ImmutableMap<K,V>> |
toImmutableMap(java.util.function.Function<? super T,? extends K> keyFunction,
java.util.function.Function<? super T,? extends V> valueFunction,
java.util.function.BinaryOperator<V> mergeFunction)
Deprecated.
|
asMultimap, builder, builderWithExpectedSize, checkNoConflict, clear, compute, computeIfAbsent, computeIfPresent, conflictException, containsKey, containsValue, copyOf, copyOf, createEntrySet, createKeySet, createValues, entryOf, entrySet, equals, get, getOrDefault, hashCode, isEmpty, isHashCodeFast, isPartialView, keyIterator, keySet, keySpliterator, merge, of, of, of, of, of, of, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, toString, values, writeReplace
@Deprecated public static <T,K,V> java.util.stream.Collector<T,?,ImmutableMap<K,V>> toImmutableMap(java.util.function.Function<? super T,? extends K> keyFunction, java.util.function.Function<? super T,? extends V> valueFunction)
ImmutableBiMap.toImmutableBiMap(java.util.function.Function<? super T, ? extends K>, java.util.function.Function<? super T, ? extends V>)
.ImmutableBiMap.toImmutableBiMap(java.util.function.Function<? super T, ? extends K>, java.util.function.Function<? super T, ? extends V>)
instead. This method exists only to
hide ImmutableMap.toImmutableMap(Function, Function)
from consumers of ImmutableBiMap
.java.lang.UnsupportedOperationException
- always@Deprecated public static <T,K,V> java.util.stream.Collector<T,?,ImmutableMap<K,V>> toImmutableMap(java.util.function.Function<? super T,? extends K> keyFunction, java.util.function.Function<? super T,? extends V> valueFunction, java.util.function.BinaryOperator<V> mergeFunction)
BiMap
. This method exists only to
hide ImmutableMap.toImmutableMap(Function, Function, BinaryOperator)
from consumers of
ImmutableBiMap
.java.lang.UnsupportedOperationException
- always