Class MutableLongSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.mutable.primitive.MutableLongSetFactoryImpl
-
- All Implemented Interfaces:
MutableLongSetFactory
public class MutableLongSetFactoryImpl extends Object implements MutableLongSetFactory
MutableLongSetFactoryImpl is a factory implementation which creates instances of typeMutableLongSet
. This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongSet
empty()
MutableLongSet
of()
MutableLongSet
of(long... items)
MutableLongSet
ofAll(Iterable<Long> iterable)
MutableLongSet
ofAll(LongStream items)
MutableLongSet
ofAll(LongIterable items)
MutableLongSet
with()
MutableLongSet
with(long... items)
MutableLongSet
withAll(Iterable<Long> iterable)
MutableLongSet
withAll(LongStream items)
MutableLongSet
withAll(LongIterable items)
MutableLongSet
withInitialCapacity(int capacity)
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongSet empty()
- Specified by:
empty
in interfaceMutableLongSetFactory
-
of
public MutableLongSet of()
- Specified by:
of
in interfaceMutableLongSetFactory
-
with
public MutableLongSet with()
- Specified by:
with
in interfaceMutableLongSetFactory
-
withInitialCapacity
public MutableLongSet withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableLongSetFactory
-
of
public MutableLongSet of(long... items)
- Specified by:
of
in interfaceMutableLongSetFactory
-
with
public MutableLongSet with(long... items)
- Specified by:
with
in interfaceMutableLongSetFactory
-
ofAll
public MutableLongSet ofAll(LongIterable items)
- Specified by:
ofAll
in interfaceMutableLongSetFactory
-
withAll
public MutableLongSet withAll(LongIterable items)
- Specified by:
withAll
in interfaceMutableLongSetFactory
-
ofAll
public MutableLongSet ofAll(Iterable<Long> iterable)
- Specified by:
ofAll
in interfaceMutableLongSetFactory
- Since:
- 10.0
-
withAll
public MutableLongSet withAll(Iterable<Long> iterable)
- Specified by:
withAll
in interfaceMutableLongSetFactory
- Since:
- 10.0
-
ofAll
public MutableLongSet ofAll(LongStream items)
- Specified by:
ofAll
in interfaceMutableLongSetFactory
- Since:
- 9.0
-
withAll
public MutableLongSet withAll(LongStream items)
- Specified by:
withAll
in interfaceMutableLongSetFactory
- Since:
- 9.0
-
-