Top Methods
org.eclipse.collections.api.factory.set.strategy

public Interface MutableHashingStrategySetFactory

Imports
org.eclipse.collections.api.block.HashingStrategy, org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.set.MutableSet

Method Summary

Modifier and TypeMethod and Description
public default <T, V> MutableSet<T>
fromFunction(Function<? super T, ? extends V> function)

Since 11.1

public <T> MutableSet<T>
of(HashingStrategy<? super T> hashingStrategy)

Same as with(HashingStrategy).

public <T> MutableSet<T>
of(HashingStrategy<? super T> hashingStrategy, T... items)

Same as with(HashingStrategy, Object[]).

public <T> MutableSet<T>
ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)

Same as withAll(HashingStrategy, Iterable).

public <T> MutableSet<T>
ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)

Same as withInitialCapacity(HashingStrategy, int).

public <T> MutableSet<T>
with(HashingStrategy<? super T> hashingStrategy)

public <T> MutableSet<T>
with(HashingStrategy<? super T> hashingStrategy, T... items)

public <T> MutableSet<T>
withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)

public <T> MutableSet<T>
withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)

Method Detail

fromFunctionback to summary
public default <T, V> MutableSet<T> fromFunction(Function<? super T, ? extends V> function)

Since 11.1

ofback to summary
public <T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy)

Same as with(HashingStrategy).

ofback to summary
public <T> MutableSet<T> of(HashingStrategy<? super T> hashingStrategy, T... items)

Same as with(HashingStrategy, Object[]).

ofAllback to summary
public <T> MutableSet<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)

Same as withAll(HashingStrategy, Iterable).

ofInitialCapacityback to summary
public <T> MutableSet<T> ofInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)

Same as withInitialCapacity(HashingStrategy, int). of initial capacity.

withback to summary
public <T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy)
withback to summary
public <T> MutableSet<T> with(HashingStrategy<? super T> hashingStrategy, T... items)
withAllback to summary
public <T> MutableSet<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)
withInitialCapacityback to summary
public <T> MutableSet<T> withInitialCapacity(HashingStrategy<? super T> hashingStrategy, int capacity)