Top Fields Constructors Methods
org.eclipse.collections.impl.bag.strategy.mutable

public final Enum MutableHashingStrategyBagFactoryImpl

extends Enum<MutableHashingStrategyBagFactoryImpl>
implements MutableHashingStrategyBagFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory
Imports
org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.block.HashingStrategy, org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory, org.eclipse.collections.impl.block.factory.HashingStrategies, org.eclipse.collections.impl.utility.Iterate

Field Summary

Modifier and TypeField and Description
public static final MutableHashingStrategyBagFactoryImpl

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public <T> MutableBag<T>
public <T, V> MutableBag<T>
public <T> MutableBag<T>
public <T> MutableBag<T>
public <T> MutableBag<T>
public static MutableHashingStrategyBagFactoryImpl
public static MutableHashingStrategyBagFactoryImpl[]
public <T> MutableBag<T>
public <T> MutableBag<T>
public <T> MutableBag<T>
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INSTANCEback to summary
public static final MutableHashingStrategyBagFactoryImpl INSTANCE

Constructor Detail

MutableHashingStrategyBagFactoryImplback to summary
private MutableHashingStrategyBagFactoryImpl()

Method Detail

emptyback to summary
public <T> MutableBag<T> empty(HashingStrategy<? super T> hashingStrategy)

Implements org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.empty.

Annotations
@Override
fromFunctionback to summary
public <T, V> MutableBag<T> fromFunction(Function<? super T, ? extends V> function)

Overrides default org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.fromFunction.

Doc from org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.fromFunction.

Since 11.1

Annotations
@Override
ofback to summary
public <T> MutableBag<T> of(HashingStrategy<? super T> hashingStrategy)

Implements org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.of.

Doc from org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.of.

Same as with(HashingStrategy).

Annotations
@Override
ofback to summary
public <T> MutableBag<T> of(HashingStrategy<? super T> hashingStrategy, T... items)

Implements org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.of.

Doc from org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.of.

Same as with(HashingStrategy, Object[]).

Annotations
@Override
ofAllback to summary
public <T> MutableBag<T> ofAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)

Implements org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.ofAll.

Doc from org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.ofAll.

Same as withAll(HashingStrategy, Iterable).

Annotations
@Override
valueOfback to summary
public static MutableHashingStrategyBagFactoryImpl valueOf(String name)
valuesback to summary
public static MutableHashingStrategyBagFactoryImpl[] values()
withback to summary
public <T> MutableBag<T> with(HashingStrategy<? super T> hashingStrategy)

Implements org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.with.

Annotations
@Override
withback to summary
public <T> MutableBag<T> with(HashingStrategy<? super T> hashingStrategy, T... items)

Implements org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.with.

Annotations
@Override
withAllback to summary
public <T> MutableBag<T> withAll(HashingStrategy<? super T> hashingStrategy, Iterable<? extends T> items)

Implements org.eclipse.collections.api.factory.bag.strategy.MutableHashingStrategyBagFactory.withAll.

Annotations
@Override