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

public Class MutableLongSetFactoryImpl

extends Object
implements MutableLongSetFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.set.primitive.MutableLongSetFactory
Annotations
@ServiceProvider:MutableLongSetFactory
Imports
org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.factory.set.primitive.MutableLongSetFactory, org.eclipse.collections.api.set.primitive.MutableLongSet, org.eclipse.collections.impl.factory.primitive.LongSets, org.eclipse.collections.impl.utility.Iterate, java.util.stream.LongStream

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

Field Summary

Modifier and TypeField and Description
public static final MutableLongSetFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Field Detail

INSTANCEback to summary
public static final MutableLongSetFactory INSTANCE

Constructor Detail

MutableLongSetFactoryImplback to summary
public MutableLongSetFactoryImpl()

Method Detail

emptyback to summary
public MutableLongSet empty()

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

Annotations
@Override
ofback to summary
public MutableLongSet of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public MutableLongSet of(long... items)

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

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

Same as with(long[]).

Annotations
@Override
ofAllback to summary
public MutableLongSet ofAll(LongIterable items)

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

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

Same as withAll(LongIterable).

Annotations
@Override
ofAllback to summary
public MutableLongSet ofAll(Iterable<Long> iterable)

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

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

Same as withAll(Iterable).

Annotations
@Override
Since
10.0
ofAllback to summary
public MutableLongSet ofAll(LongStream items)

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

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

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

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

Same as empty().

Annotations
@Override
withback to summary
public MutableLongSet with(long... items)

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

Annotations
@Override
withAllback to summary
public MutableLongSet withAll(LongIterable items)

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

Annotations
@Override
withAllback to summary
public MutableLongSet withAll(Iterable<Long> iterable)

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

Annotations
@Override
Since
10.0
withAllback to summary
public MutableLongSet withAll(LongStream items)

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

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

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

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

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

Annotations
@Override