Enum ImmutableHashingStrategyMapFactoryImpl
- java.lang.Object
-
- java.lang.Enum<ImmutableHashingStrategyMapFactoryImpl>
-
- org.eclipse.collections.impl.map.strategy.immutable.ImmutableHashingStrategyMapFactoryImpl
-
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableHashingStrategyMapFactoryImpl>
,ImmutableHashingStrategyMapFactory
public enum ImmutableHashingStrategyMapFactoryImpl extends Enum<ImmutableHashingStrategyMapFactoryImpl> implements ImmutableHashingStrategyMapFactory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 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 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)
-
-
-
Enum Constant Detail
-
INSTANCE
public static final ImmutableHashingStrategyMapFactoryImpl INSTANCE
-
-
Method Detail
-
values
public static ImmutableHashingStrategyMapFactoryImpl[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImmutableHashingStrategyMapFactoryImpl c : ImmutableHashingStrategyMapFactoryImpl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImmutableHashingStrategyMapFactoryImpl valueOf(String name)
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
public <K,V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy)
- Specified by:
of
in interfaceImmutableHashingStrategyMapFactory
-
with
public <K,V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy)
- Specified by:
with
in interfaceImmutableHashingStrategyMapFactory
-
of
public <K,V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key, V value)
- Specified by:
of
in interfaceImmutableHashingStrategyMapFactory
-
with
public <K,V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key, V value)
- Specified by:
with
in interfaceImmutableHashingStrategyMapFactory
-
of
public <K,V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)
- Specified by:
of
in interfaceImmutableHashingStrategyMapFactory
-
with
public <K,V> ImmutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)
- Specified by:
with
in 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)
- Specified by:
of
in 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:
with
in 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)
- Specified by:
of
in 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:
with
in interfaceImmutableHashingStrategyMapFactory
-
ofMap
@Deprecated public <K,V> ImmutableMap<K,V> ofMap(Map<K,V> map)
Deprecated.useofAll(Map)
instead (inlineable)- Specified by:
ofMap
in interfaceImmutableHashingStrategyMapFactory
-
ofAll
public <K,V> ImmutableMap<K,V> ofAll(Map<K,V> map)
- Specified by:
ofAll
in interfaceImmutableHashingStrategyMapFactory
-
withAll
public <K,V> ImmutableMap<K,V> withAll(Map<K,V> map)
- Specified by:
withAll
in interfaceImmutableHashingStrategyMapFactory
-
-