Class ImmutableLongSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.primitive.ImmutableLongSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongSetFactory
public class ImmutableLongSetFactoryImpl extends Object implements ImmutableLongSetFactory
ImmutableLongSetFactoryImpl is a factory implementation which creates instances of typeImmutableLongSet
. This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongSet
empty()
ImmutableLongSet
of()
ImmutableLongSet
of(long one)
ImmutableLongSet
of(long... items)
ImmutableLongSet
ofAll(Iterable<Long> iterable)
ImmutableLongSet
ofAll(LongStream items)
ImmutableLongSet
ofAll(LongIterable items)
ImmutableLongSet
with()
ImmutableLongSet
with(long one)
ImmutableLongSet
with(long... items)
ImmutableLongSet
withAll(Iterable<Long> iterable)
ImmutableLongSet
withAll(LongStream items)
ImmutableLongSet
withAll(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongSet empty()
- Specified by:
empty
in interfaceImmutableLongSetFactory
-
of
public ImmutableLongSet of()
- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with()
- Specified by:
with
in interfaceImmutableLongSetFactory
-
of
public ImmutableLongSet of(long one)
- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with(long one)
- Specified by:
with
in interfaceImmutableLongSetFactory
-
of
public ImmutableLongSet of(long... items)
- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with(long... items)
- Specified by:
with
in interfaceImmutableLongSetFactory
-
ofAll
public ImmutableLongSet ofAll(LongIterable items)
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
-
withAll
public ImmutableLongSet withAll(LongIterable items)
- Specified by:
withAll
in interfaceImmutableLongSetFactory
-
ofAll
public ImmutableLongSet ofAll(Iterable<Long> iterable)
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
- Since:
- 10.0
-
withAll
public ImmutableLongSet withAll(Iterable<Long> iterable)
- Specified by:
withAll
in interfaceImmutableLongSetFactory
- Since:
- 10.0
-
ofAll
public ImmutableLongSet ofAll(LongStream items)
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
- Since:
- 9.0
-
withAll
public ImmutableLongSet withAll(LongStream items)
- Specified by:
withAll
in interfaceImmutableLongSetFactory
- Since:
- 9.0
-
-