Interface ImmutableHashingStrategySetFactory
-
- All Known Implementing Classes:
ImmutableHashingStrategySetFactoryImpl
public interface ImmutableHashingStrategySetFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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, java.lang.Iterable<? extends T> items)
Same aswithAll(HashingStrategy, Iterable)
.<T> ImmutableSet<T>
ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int 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, java.lang.Iterable<? extends T> items)
<T> ImmutableSet<T>
withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
-
-
-
Method Detail
-
of
<T> ImmutableSet<T> of(HashingStrategy<? super T> hashingStrategy)
Same aswith(HashingStrategy)
.
-
with
<T> ImmutableSet<T> with(HashingStrategy<? super T> hashingStrategy)
-
of
<T> ImmutableSet<T> of(HashingStrategy<? super T> hashingStrategy, T... items)
Same aswith(HashingStrategy, Object[])
.
-
with
<T> ImmutableSet<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
-
ofAll
<T> ImmutableSet<T> ofAll(HashingStrategy<? super T> hashingStrategy, java.lang.Iterable<? extends T> items)
Same aswithAll(HashingStrategy, Iterable)
.
-
withAll
<T> ImmutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, java.lang.Iterable<? extends T> items)
-
ofInitialCapacity
<T> ImmutableSet<T> ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
Same aswithInitialCapacity(HashingStrategy, int)
. of initial capacity.
-
withInitialCapacity
<T> ImmutableSet<T> withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)
-
-