Enum Class MutableHashingStrategySetFactoryImpl
java.lang.Object
java.lang.Enum<MutableHashingStrategySetFactoryImpl>
org.eclipse.collections.impl.set.strategy.mutable.MutableHashingStrategySetFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<MutableHashingStrategySetFactoryImpl>,Constable,MutableHashingStrategySetFactory
public enum MutableHashingStrategySetFactoryImpl
extends Enum<MutableHashingStrategySetFactoryImpl>
implements MutableHashingStrategySetFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescription<T,V> MutableSet<T> fromFunction(Function<? super T, ? extends V> function) <T> MutableSet<T>of(HashingStrategy<? super T> hashingStrategy) <T> MutableSet<T>of(HashingStrategy<? super T> hashingStrategy, T... items) <T> MutableSet<T>ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) <T> MutableSet<T>ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity) Returns the enum constant of this class with the specified name.static MutableHashingStrategySetFactoryImpl[]values()Returns an array containing the constants of this enum class, in the order they are declared.<T> MutableSet<T>with(HashingStrategy<? super T> hashingStrategy) <T> MutableSet<T>with(HashingStrategy<? super T> hashingStrategy, T... items) <T> MutableSet<T>withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) <T> MutableSet<T>withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity) Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
of
- Specified by:
ofin interfaceMutableHashingStrategySetFactory
-
with
- Specified by:
within interfaceMutableHashingStrategySetFactory
-
fromFunction
- Specified by:
fromFunctionin interfaceMutableHashingStrategySetFactory
-
of
- Specified by:
ofin interfaceMutableHashingStrategySetFactory
-
with
- Specified by:
within interfaceMutableHashingStrategySetFactory
-
ofAll
public <T> MutableSet<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) - Specified by:
ofAllin interfaceMutableHashingStrategySetFactory
-
withAll
public <T> MutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) - Specified by:
withAllin interfaceMutableHashingStrategySetFactory
-
ofInitialCapacity
public <T> MutableSet<T> ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity) - Specified by:
ofInitialCapacityin interfaceMutableHashingStrategySetFactory
-
withInitialCapacity
public <T> MutableSet<T> withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity) - Specified by:
withInitialCapacityin interfaceMutableHashingStrategySetFactory
-