public enum MutableHashingStrategyMapFactoryImpl extends Enum<MutableHashingStrategyMapFactoryImpl> implements MutableHashingStrategyMapFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<K,V,T> MutableMap<K,V> |
fromFunction(Function<? super K,? extends T> function) |
<K,V> MutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy) |
<K,V> MutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> MutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> MutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> MutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
static MutableHashingStrategyMapFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MutableHashingStrategyMapFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<K,V> MutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy) |
<K,V> MutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> MutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> MutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> MutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
public static final MutableHashingStrategyMapFactoryImpl INSTANCE
public static MutableHashingStrategyMapFactoryImpl[] values()
for (MutableHashingStrategyMapFactoryImpl c : MutableHashingStrategyMapFactoryImpl.values()) System.out.println(c);
public static MutableHashingStrategyMapFactoryImpl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy)
of in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy)
with in interface MutableHashingStrategyMapFactorypublic <K,V,T> MutableMap<K,V> fromFunction(Function<? super K,? extends T> function)
fromFunction in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key, V value)
of in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key, V value)
with in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)
of in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)
with in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3)
of in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3)
with in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
of in interface MutableHashingStrategyMapFactorypublic <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
with in interface MutableHashingStrategyMapFactoryCopyright © 2004–2022. All rights reserved.