Enum MutableHashingStrategyMapFactoryImpl
- java.lang.Object
-
- java.lang.Enum<MutableHashingStrategyMapFactoryImpl>
-
- org.eclipse.collections.impl.map.strategy.mutable.MutableHashingStrategyMapFactoryImpl
-
- All Implemented Interfaces:
Serializable
,Comparable<MutableHashingStrategyMapFactoryImpl>
,MutableHashingStrategyMapFactory
public enum MutableHashingStrategyMapFactoryImpl extends Enum<MutableHashingStrategyMapFactoryImpl> implements MutableHashingStrategyMapFactory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Enum Constant Detail
-
INSTANCE
public static final MutableHashingStrategyMapFactoryImpl INSTANCE
-
-
Method Detail
-
values
public static MutableHashingStrategyMapFactoryImpl[] 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 (MutableHashingStrategyMapFactoryImpl c : MutableHashingStrategyMapFactoryImpl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MutableHashingStrategyMapFactoryImpl 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> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy)
- Specified by:
of
in interfaceMutableHashingStrategyMapFactory
-
with
public <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy)
- Specified by:
with
in interfaceMutableHashingStrategyMapFactory
-
fromFunction
public <K,V,T> MutableMap<K,V> fromFunction(Function<? super K,? extends T> function)
- Specified by:
fromFunction
in interfaceMutableHashingStrategyMapFactory
-
of
public <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key, V value)
- Specified by:
of
in interfaceMutableHashingStrategyMapFactory
-
with
public <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key, V value)
- Specified by:
with
in interfaceMutableHashingStrategyMapFactory
-
of
public <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)
- Specified by:
of
in interfaceMutableHashingStrategyMapFactory
-
with
public <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2)
- Specified by:
with
in interfaceMutableHashingStrategyMapFactory
-
of
public <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3)
- Specified by:
of
in interfaceMutableHashingStrategyMapFactory
-
with
public <K,V> MutableMap<K,V> with(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3)
- Specified by:
with
in interfaceMutableHashingStrategyMapFactory
-
of
public <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)
- Specified by:
of
in interfaceMutableHashingStrategyMapFactory
-
with
public <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)
- Specified by:
with
in interfaceMutableHashingStrategyMapFactory
-
-