public enum MutableHashingStrategySetFactoryImpl extends Enum<MutableHashingStrategySetFactoryImpl> implements MutableHashingStrategySetFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<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) |
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)
of in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy)
with in interface MutableHashingStrategySetFactorypublic <T,V> MutableSet<T> fromFunction(Function<? super T,? extends V> function)
fromFunction in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
of in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
with in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
ofAll in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
withAll in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
ofInitialCapacity in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
withInitialCapacity in interface MutableHashingStrategySetFactoryCopyright © 2004–2022. All rights reserved.