Class ImmutableLongSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.primitive.ImmutableLongSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongSetFactory
public class ImmutableLongSetFactoryImpl extends java.lang.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()
Same asImmutableLongSetFactory.empty()
.ImmutableLongSet
of(long one)
Same asImmutableLongSetFactory.with(long)
.ImmutableLongSet
of(long... items)
Same asImmutableLongSetFactory.with(long[])
.ImmutableLongSet
ofAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongSet
ofAll(java.util.stream.LongStream items)
ImmutableLongSet
ofAll(LongIterable items)
ImmutableLongSet
with()
Same asImmutableLongSetFactory.empty()
.ImmutableLongSet
with(long one)
ImmutableLongSet
with(long... items)
ImmutableLongSet
withAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongSet
withAll(java.util.stream.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()
Description copied from interface:ImmutableLongSetFactory
Same asImmutableLongSetFactory.empty()
.- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with()
Description copied from interface:ImmutableLongSetFactory
Same asImmutableLongSetFactory.empty()
.- Specified by:
with
in interfaceImmutableLongSetFactory
-
of
public ImmutableLongSet of(long one)
Description copied from interface:ImmutableLongSetFactory
Same asImmutableLongSetFactory.with(long)
.- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with(long one)
- Specified by:
with
in interfaceImmutableLongSetFactory
-
of
public ImmutableLongSet of(long... items)
Description copied from interface:ImmutableLongSetFactory
Same asImmutableLongSetFactory.with(long[])
.- Specified by:
of
in interfaceImmutableLongSetFactory
-
with
public ImmutableLongSet with(long... items)
- Specified by:
with
in interfaceImmutableLongSetFactory
-
ofAll
public ImmutableLongSet ofAll(LongIterable items)
Description copied from interface:ImmutableLongSetFactory
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
-
withAll
public ImmutableLongSet withAll(LongIterable items)
- Specified by:
withAll
in interfaceImmutableLongSetFactory
-
ofAll
public ImmutableLongSet ofAll(java.lang.Iterable<java.lang.Long> iterable)
Description copied from interface:ImmutableLongSetFactory
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
- Since:
- 10.0
-
withAll
public ImmutableLongSet withAll(java.lang.Iterable<java.lang.Long> iterable)
- Specified by:
withAll
in interfaceImmutableLongSetFactory
- Since:
- 10.0
-
ofAll
public ImmutableLongSet ofAll(java.util.stream.LongStream items)
- Specified by:
ofAll
in interfaceImmutableLongSetFactory
- Since:
- 9.0
-
withAll
public ImmutableLongSet withAll(java.util.stream.LongStream items)
- Specified by:
withAll
in interfaceImmutableLongSetFactory
- Since:
- 9.0
-
-