MutableHashingStrategyBagFactorypublic enum MutableHashingStrategyBagFactoryImpl extends java.lang.Enum<MutableHashingStrategyBagFactoryImpl> implements MutableHashingStrategyBagFactory
| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<T> MutableBag<T> |
empty(HashingStrategy<? super T> hashingStrategy) |
|
<T> MutableBag<T> |
of(HashingStrategy<? super T> hashingStrategy) |
|
<T> MutableBag<T> |
of(HashingStrategy<? super T> hashingStrategy,
T... items) |
|
<T> MutableBag<T> |
ofAll(HashingStrategy<? super T> hashingStrategy,
java.lang.Iterable<? extends T> items) |
|
static MutableHashingStrategyBagFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableHashingStrategyBagFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<T> MutableBag<T> |
with(HashingStrategy<? super T> hashingStrategy) |
|
<T> MutableBag<T> |
with(HashingStrategy<? super T> hashingStrategy,
T... items) |
|
<T> MutableBag<T> |
withAll(HashingStrategy<? super T> hashingStrategy,
java.lang.Iterable<? extends T> items) |
public static final MutableHashingStrategyBagFactoryImpl INSTANCE
public static MutableHashingStrategyBagFactoryImpl[] values()
for (MutableHashingStrategyBagFactoryImpl c : MutableHashingStrategyBagFactoryImpl.values()) System.out.println(c);
public static MutableHashingStrategyBagFactoryImpl 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> MutableBag<T> of(HashingStrategy<? super T> hashingStrategy)
MutableHashingStrategyBagFactoryof in interface MutableHashingStrategyBagFactorypublic <T> MutableBag<T> empty(HashingStrategy<? super T> hashingStrategy)
empty in interface MutableHashingStrategyBagFactorypublic <T> MutableBag<T> with(HashingStrategy<? super T> hashingStrategy)
with in interface MutableHashingStrategyBagFactorypublic <T> MutableBag<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
MutableHashingStrategyBagFactoryof in interface MutableHashingStrategyBagFactorypublic <T> MutableBag<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
with in interface MutableHashingStrategyBagFactorypublic <T> MutableBag<T> ofAll(HashingStrategy<? super T> hashingStrategy, java.lang.Iterable<? extends T> items)
MutableHashingStrategyBagFactoryofAll in interface MutableHashingStrategyBagFactorypublic <T> MutableBag<T> withAll(HashingStrategy<? super T> hashingStrategy, java.lang.Iterable<? extends T> items)
withAll in interface MutableHashingStrategyBagFactoryCopyright © 2004–2018. All rights reserved.