Interface MutableHashingStrategyBagFactory
public interface MutableHashingStrategyBagFactory
-
Method Summary
Modifier and TypeMethodDescription<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 Details
-
of
Same aswith(HashingStrategy). -
empty
-
with
-
fromFunction
Since 11.1 -
of
Same aswith(HashingStrategy, Object[]). -
with
-
ofAll
Same aswithAll(HashingStrategy, Iterable). -
withAll
-