Enum ImmutableHashingStrategyMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableHashingStrategyMapFactoryImpl>
org.eclipse.collections.impl.map.strategy.immutable.ImmutableHashingStrategyMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableHashingStrategyMapFactoryImpl>,java.lang.constant.Constable,ImmutableHashingStrategyMapFactory
public enum ImmutableHashingStrategyMapFactoryImpl extends Enum<ImmutableHashingStrategyMapFactoryImpl> implements ImmutableHashingStrategyMapFactory
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method 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.useofAll(Map)instead (inlineable)static ImmutableHashingStrategyMapFactoryImplvalueOf(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)Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
of
Description copied from interface:ImmutableHashingStrategyMapFactory- Specified by:
ofin interfaceImmutableHashingStrategyMapFactory
-
with
- Specified by:
within interfaceImmutableHashingStrategyMapFactory
-
of
Description copied from interface:ImmutableHashingStrategyMapFactory- Specified by:
ofin interfaceImmutableHashingStrategyMapFactory
-
with
- Specified by:
within interfaceImmutableHashingStrategyMapFactory
-
of
public <K, V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)Description copied from interface:ImmutableHashingStrategyMapFactory- Specified by:
ofin interfaceImmutableHashingStrategyMapFactory
-
with
public <K, V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)- Specified by:
within interfaceImmutableHashingStrategyMapFactory
-
of
public <K, V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3)Description copied from interface:ImmutableHashingStrategyMapFactory- Specified by:
ofin interfaceImmutableHashingStrategyMapFactory
-
with
public <K, V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3)- Specified by:
within interfaceImmutableHashingStrategyMapFactory
-
of
public <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)Description copied from interface:ImmutableHashingStrategyMapFactory- Specified by:
ofin interfaceImmutableHashingStrategyMapFactory
-
with
public <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)- Specified by:
within interfaceImmutableHashingStrategyMapFactory
-
ofMap
Deprecated.useofAll(Map)instead (inlineable)- Specified by:
ofMapin interfaceImmutableHashingStrategyMapFactory
-
ofAll
Description copied from interface:ImmutableHashingStrategyMapFactory- Specified by:
ofAllin interfaceImmutableHashingStrategyMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableHashingStrategyMapFactory
-