Serializable
, Comparable<MutableHashingStrategySetFactoryImpl>
, MutableHashingStrategySetFactory
public enum MutableHashingStrategySetFactoryImpl extends Enum<MutableHashingStrategySetFactoryImpl> implements MutableHashingStrategySetFactory
Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
<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) |
|
static MutableHashingStrategySetFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableHashingStrategySetFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, 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) |
public static final MutableHashingStrategySetFactoryImpl INSTANCE
public static MutableHashingStrategySetFactoryImpl[] values()
for (MutableHashingStrategySetFactoryImpl c : MutableHashingStrategySetFactoryImpl.values()) System.out.println(c);
public static MutableHashingStrategySetFactoryImpl valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic <T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy)
MutableHashingStrategySetFactory
of
in interface MutableHashingStrategySetFactory
public <T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy)
with
in interface MutableHashingStrategySetFactory
public <T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
MutableHashingStrategySetFactory
of
in interface MutableHashingStrategySetFactory
public <T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
with
in interface MutableHashingStrategySetFactory
public <T> MutableSet<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
MutableHashingStrategySetFactory
ofAll
in interface MutableHashingStrategySetFactory
public <T> MutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
withAll
in interface MutableHashingStrategySetFactory
public <T> MutableSet<T> ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
MutableHashingStrategySetFactory
MutableHashingStrategySetFactory.withInitialCapacity(HashingStrategy, int)
. of initial capacity.ofInitialCapacity
in interface MutableHashingStrategySetFactory
public <T> MutableSet<T> withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
withInitialCapacity
in interface MutableHashingStrategySetFactory
Copyright © 2004–2019. All rights reserved.