@Immutable public class MutableHashingStrategyBagFactoryImpl extends Object implements MutableHashingStrategyBagFactory
Constructor and Description |
---|
MutableHashingStrategyBagFactoryImpl() |
Modifier and Type | Method and 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,
Iterable<? extends T> items)
|
<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,
Iterable<? extends T> items) |
public MutableHashingStrategyBagFactoryImpl()
public <T> MutableBag<T> of(HashingStrategy<? super T> hashingStrategy)
MutableHashingStrategyBagFactory
of
in interface MutableHashingStrategyBagFactory
public <T> MutableBag<T> empty(HashingStrategy<? super T> hashingStrategy)
empty
in interface MutableHashingStrategyBagFactory
public <T> MutableBag<T> with(HashingStrategy<? super T> hashingStrategy)
with
in interface MutableHashingStrategyBagFactory
public <T> MutableBag<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
MutableHashingStrategyBagFactory
of
in interface MutableHashingStrategyBagFactory
public <T> MutableBag<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
with
in interface MutableHashingStrategyBagFactory
public <T> MutableBag<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
MutableHashingStrategyBagFactory
ofAll
in interface MutableHashingStrategyBagFactory
public <T> MutableBag<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
withAll
in interface MutableHashingStrategyBagFactory
Copyright © 2004–2016. All rights reserved.