Top Description Fields Constructors Methods
org.eclipse.collections.impl.set.mutable.primitive

public Class MutableIntSetFactoryImpl

extends Object
implements MutableIntSetFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory
Annotations
@ServiceProvider:MutableIntSetFactory
Imports
org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory, org.eclipse.collections.api.set.primitive.MutableIntSet, org.eclipse.collections.impl.factory.primitive.IntSets, org.eclipse.collections.impl.utility.Iterate, java.util.stream.IntStream

MutableIntSetFactoryImpl is a factory implementation which creates instances of type MutableIntSet. This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.
Since
6.0.

Field Summary

Modifier and TypeField and Description
public static final MutableIntSetFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
public MutableIntSet
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final MutableIntSetFactory INSTANCE

Constructor Detail

MutableIntSetFactoryImplback to summary
public MutableIntSetFactoryImpl()

Method Detail

emptyback to summary
public MutableIntSet empty()

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.empty.

Annotations
@Override
ofback to summary
public MutableIntSet of()

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.of.

Doc from org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.of.

Same as empty().

Annotations
@Override
ofback to summary
public MutableIntSet of(int... items)

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.of.

Doc from org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.of.

Same as with(int[]).

Annotations
@Override
ofAllback to summary
public MutableIntSet ofAll(IntIterable items)

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.ofAll.

Doc from org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.ofAll.

Same as withAll(IntIterable).

Annotations
@Override
ofAllback to summary
public MutableIntSet ofAll(Iterable<Integer> iterable)

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.ofAll.

Doc from org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.ofAll.

Same as withAll(Iterable).

Annotations
@Override
Since
10.0
ofAllback to summary
public MutableIntSet ofAll(IntStream items)

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.ofAll.

Annotations
@Override
Since
9.0
withback to summary
public MutableIntSet with()

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.with.

Doc from org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.with.

Same as empty().

Annotations
@Override
withback to summary
public MutableIntSet with(int... items)

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.with.

Annotations
@Override
withAllback to summary
public MutableIntSet withAll(IntIterable items)

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.withAll.

Annotations
@Override
withAllback to summary
public MutableIntSet withAll(Iterable<Integer> iterable)

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.withAll.

Annotations
@Override
Since
10.0
withAllback to summary
public MutableIntSet withAll(IntStream items)

Implements org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.withAll.

Annotations
@Override
Since
9.0
withInitialCapacityback to summary
public MutableIntSet withInitialCapacity(int capacity)

Overrides default org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.withInitialCapacity.

Doc from org.eclipse.collections.api.factory.set.primitive.MutableIntSetFactory.withInitialCapacity.

Same as empty(). but takes in an initial capacity

Annotations
@Override