Interface MutableHashingStrategySetFactory
-
public interface MutableHashingStrategySetFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T,V>
MutableSet<T>fromFunction(Function<? super T,? extends V> function)Since 11.1<T> MutableSet<T>of(HashingStrategy<? super T> hashingStrategy)Same aswith(HashingStrategy).<T> MutableSet<T>of(HashingStrategy<? super T> hashingStrategy, T... items)Same aswith(HashingStrategy, Object[]).<T> MutableSet<T>ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)Same aswithAll(HashingStrategy, Iterable).<T> MutableSet<T>ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)<T> MutableSet<T>with(HashingStrategy<? super T> hashingStrategy)<T> MutableSet<T>with(HashingStrategy<? super T> hashingStrategy, T... items)<T> MutableSet<T>withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)<T> MutableSet<T>withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
-
-
-
Method Detail
-
of
<T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy)
Same aswith(HashingStrategy).
-
with
<T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy)
-
fromFunction
default <T,V> MutableSet<T> fromFunction(Function<? super T,? extends V> function)
Since 11.1
-
of
<T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
Same aswith(HashingStrategy, Object[]).
-
with
<T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
-
ofAll
<T> MutableSet<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
Same aswithAll(HashingStrategy, Iterable).
-
withAll
<T> MutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
-
ofInitialCapacity
<T> MutableSet<T> ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
Same aswithInitialCapacity(HashingStrategy, int). of initial capacity.
-
withInitialCapacity
<T> MutableSet<T> withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
-
-