Enum ImmutableHashingStrategyMapFactoryImpl
- java.lang.Object
-
- java.lang.Enum<ImmutableHashingStrategyMapFactoryImpl>
-
- org.eclipse.collections.impl.map.strategy.immutable.ImmutableHashingStrategyMapFactoryImpl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ImmutableHashingStrategyMapFactoryImpl>
,ImmutableHashingStrategyMapFactory
public enum ImmutableHashingStrategyMapFactoryImpl extends java.lang.Enum<ImmutableHashingStrategyMapFactoryImpl> implements ImmutableHashingStrategyMapFactory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
ImmutableHashingStrategyMapFactoryImpl()
-
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(java.util.Map<K,V> map)
<K,V>
ImmutableMap<K,V>ofMap(java.util.Map<K,V> map)
Deprecated.useofAll(Map)
instead (inlineable)static ImmutableHashingStrategyMapFactoryImpl
valueOf(java.lang.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(java.util.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(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
of
public <K,V> ImmutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy)
Description copied from interface:ImmutableHashingStrategyMapFactory
- 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)
Description copied from interface:ImmutableHashingStrategyMapFactory
- 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)
Description copied from interface:ImmutableHashingStrategyMapFactory
- 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)
Description copied from interface:ImmutableHashingStrategyMapFactory
- 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)
Description copied from interface:ImmutableHashingStrategyMapFactory
- 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(java.util.Map<K,V> map)
Deprecated.useofAll(Map)
instead (inlineable)- Specified by:
ofMap
in interfaceImmutableHashingStrategyMapFactory
-
ofAll
public <K,V> ImmutableMap<K,V> ofAll(java.util.Map<K,V> map)
Description copied from interface:ImmutableHashingStrategyMapFactory
- Specified by:
ofAll
in interfaceImmutableHashingStrategyMapFactory
-
withAll
public <K,V> ImmutableMap<K,V> withAll(java.util.Map<K,V> map)
- Specified by:
withAll
in interfaceImmutableHashingStrategyMapFactory
-
-