public enum ImmutableHashingStrategyMapFactoryImpl extends Enum<ImmutableHashingStrategyMapFactoryImpl> implements ImmutableHashingStrategyMapFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<K,V> ImmutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy) |
<K,V> ImmutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> ImmutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> ImmutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> ImmutableMap<K,V> |
of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
<K,V> ImmutableMap<K,V> |
ofAll(Map<K,V> map) |
<K,V> ImmutableMap<K,V> |
ofMap(Map<K,V> map)
Deprecated.
use
ofAll(Map) instead (inlineable) |
static ImmutableHashingStrategyMapFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableHashingStrategyMapFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<K,V> ImmutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy) |
<K,V> ImmutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> ImmutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> ImmutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> ImmutableMap<K,V> |
with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
<K,V> ImmutableMap<K,V> |
withAll(Map<K,V> map) |
public static final ImmutableHashingStrategyMapFactoryImpl INSTANCE
public static ImmutableHashingStrategyMapFactoryImpl[] values()
for (ImmutableHashingStrategyMapFactoryImpl c : ImmutableHashingStrategyMapFactoryImpl.values()) System.out.println(c);
public static ImmutableHashingStrategyMapFactoryImpl 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> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy)
of in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy)
with in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key, V value)
of in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key, V value)
with in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)
of in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)
with in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3)
of in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3)
with in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<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 ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<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 ImmutableHashingStrategyMapFactory@Deprecated public <K,V> ImmutableMap<K,V> ofMap(Map<K,V> map)
ofAll(Map) instead (inlineable)ofMap in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> ofAll(Map<K,V> map)
ofAll in interface ImmutableHashingStrategyMapFactorypublic <K,V> ImmutableMap<K,V> withAll(Map<K,V> map)
withAll in interface ImmutableHashingStrategyMapFactoryCopyright © 2004–2022. All rights reserved.