public enum ImmutableHashingStrategySetFactoryImpl extends Enum<ImmutableHashingStrategySetFactoryImpl> implements ImmutableHashingStrategySetFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableSet<T> |
of(HashingStrategy<? super T> hashingStrategy) |
<T> ImmutableSet<T> |
of(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> ImmutableSet<T> |
ofAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
<T> ImmutableSet<T> |
ofInitialCapacity(HashingStrategy<? super T> hashingStrategy,
int capacity) |
static ImmutableHashingStrategySetFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableHashingStrategySetFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<T> ImmutableSet<T> |
with(HashingStrategy<? super T> hashingStrategy) |
<T> ImmutableSet<T> |
with(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> ImmutableSet<T> |
withAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
<T> ImmutableSet<T> |
withInitialCapacity(HashingStrategy<? super T> hashingStrategy,
int capacity) |
public static final ImmutableHashingStrategySetFactoryImpl INSTANCE
public static ImmutableHashingStrategySetFactoryImpl[] values()
for (ImmutableHashingStrategySetFactoryImpl c : ImmutableHashingStrategySetFactoryImpl.values()) System.out.println(c);
public static ImmutableHashingStrategySetFactoryImpl 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> ImmutableSet<T> of(HashingStrategy<? super T> hashingStrategy)
of in interface ImmutableHashingStrategySetFactorypublic <T> ImmutableSet<T> with(HashingStrategy<? super T> hashingStrategy)
with in interface ImmutableHashingStrategySetFactorypublic <T> ImmutableSet<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
of in interface ImmutableHashingStrategySetFactorypublic <T> ImmutableSet<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
with in interface ImmutableHashingStrategySetFactorypublic <T> ImmutableSet<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
ofAll in interface ImmutableHashingStrategySetFactorypublic <T> ImmutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
withAll in interface ImmutableHashingStrategySetFactorypublic <T> ImmutableSet<T> ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
ofInitialCapacity in interface ImmutableHashingStrategySetFactorypublic <T> ImmutableSet<T> withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
withInitialCapacity in interface ImmutableHashingStrategySetFactoryCopyright © 2004–2022. All rights reserved.