Enum MutableHashingStrategyMapFactoryImpl
- java.lang.Object
-
- java.lang.Enum<MutableHashingStrategyMapFactoryImpl>
-
- org.eclipse.collections.impl.map.strategy.mutable.MutableHashingStrategyMapFactoryImpl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MutableHashingStrategyMapFactoryImpl>
,MutableHashingStrategyMapFactory
public enum MutableHashingStrategyMapFactoryImpl extends java.lang.Enum<MutableHashingStrategyMapFactoryImpl> implements MutableHashingStrategyMapFactory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
MutableHashingStrategyMapFactoryImpl()
-
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)
Since 11.1<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(java.lang.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(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> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy)
Description copied from interface:MutableHashingStrategyMapFactory
- 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)
Description copied from interface:MutableHashingStrategyMapFactory
Since 11.1- Specified by:
fromFunction
in interfaceMutableHashingStrategyMapFactory
-
of
public <K,V> MutableMap<K,V> of(HashingStrategy<? super K> hashingStrategy, K key, V value)
Description copied from interface:MutableHashingStrategyMapFactory
- 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)
Description copied from interface:MutableHashingStrategyMapFactory
- 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)
Description copied from interface:MutableHashingStrategyMapFactory
- 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)
Description copied from interface:MutableHashingStrategyMapFactory
- 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
-
-