Interface ImmutableHashingStrategySetFactory
public interface ImmutableHashingStrategySetFactory
-
Method Summary
Modifier and TypeMethodDescription<T> ImmutableSet<T>of(HashingStrategy<? super T> hashingStrategy) Same aswith(HashingStrategy).<T> ImmutableSet<T>of(HashingStrategy<? super T> hashingStrategy, T... items) Same aswith(HashingStrategy, Object[]).<T> ImmutableSet<T>ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) Same aswithAll(HashingStrategy, Iterable).<T> ImmutableSet<T>ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity) Same aswithInitialCapacity(HashingStrategy, int). of initial capacity.<T> ImmutableSet<T>with(HashingStrategy<? super T> hashingStrategy) <T> ImmutableSet<T>with(HashingStrategy<? super T> hashingStrategy, T... items) <T> ImmutableSet<T>withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) <T> ImmutableSet<T>withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
-
Method Details
-
of
Same aswith(HashingStrategy). -
with
-
of
Same aswith(HashingStrategy, Object[]). -
with
-
ofAll
Same aswithAll(HashingStrategy, Iterable). -
withAll
<T> ImmutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items) -
ofInitialCapacity
Same aswithInitialCapacity(HashingStrategy, int). of initial capacity. -
withInitialCapacity
-