java.io.Serializable, java.lang.Comparable<MutableHashingStrategySetFactoryImpl>, MutableHashingStrategySetFactorypublic enum MutableHashingStrategySetFactoryImpl extends java.lang.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,
java.lang.Iterable<? extends T> items) |
|
<T> MutableSet<T> |
ofInitialCapacity(HashingStrategy<? super T> hashingStrategy,
int capacity) |
|
static MutableHashingStrategySetFactoryImpl |
valueOf(java.lang.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,
java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic <T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy)
MutableHashingStrategySetFactoryof in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy)
with in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
MutableHashingStrategySetFactoryof 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, java.lang.Iterable<? extends T> items)
MutableHashingStrategySetFactoryofAll in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, java.lang.Iterable<? extends T> items)
withAll in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
MutableHashingStrategySetFactoryMutableHashingStrategySetFactory.withInitialCapacity(HashingStrategy, int). of initial capacity.ofInitialCapacity in interface MutableHashingStrategySetFactorypublic <T> MutableSet<T> withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
withInitialCapacity in interface MutableHashingStrategySetFactoryCopyright © 2004–2020. All rights reserved.