Interface MutableHashingStrategyBagFactory
-
public interface MutableHashingStrategyBagFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T> MutableBag<T>empty(HashingStrategy<? super T> hashingStrategy)default <T,V>
MutableBag<T>fromFunction(Function<? super T,? extends V> function)Since 11.1<T> MutableBag<T>of(HashingStrategy<? super T> hashingStrategy)Same aswith(HashingStrategy).<T> MutableBag<T>of(HashingStrategy<? super T> hashingStrategy, T... items)Same aswith(HashingStrategy, Object[]).<T> MutableBag<T>ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)Same aswithAll(HashingStrategy, Iterable).<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)
-
-
-
Method Detail
-
of
<T> MutableBag<T> of(HashingStrategy<? super T> hashingStrategy)
Same aswith(HashingStrategy).
-
empty
<T> MutableBag<T> empty(HashingStrategy<? super T> hashingStrategy)
-
with
<T> MutableBag<T> with(HashingStrategy<? super T> hashingStrategy)
-
fromFunction
default <T,V> MutableBag<T> fromFunction(Function<? super T,? extends V> function)
Since 11.1
-
of
<T> MutableBag<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
Same aswith(HashingStrategy, Object[]).
-
with
<T> MutableBag<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
-
ofAll
<T> MutableBag<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
Same aswithAll(HashingStrategy, Iterable).
-
withAll
<T> MutableBag<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
-
-