Class ImmutableLongListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.immutable.primitive.ImmutableLongListFactoryImpl
-
- All Implemented Interfaces:
ImmutableLongListFactory
public class ImmutableLongListFactoryImpl extends java.lang.Object implements ImmutableLongListFactory
ImmutableLongListFactoryImpl is a factory implementation which creates instances of typeImmutableLongList
. This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.- Since:
- 3.2.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongList
empty()
ImmutableLongList
of()
Same asImmutableLongListFactory.empty()
.ImmutableLongList
of(long one)
Same asImmutableLongListFactory.with(long)
.ImmutableLongList
of(long... items)
ImmutableLongList
ofAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongList
ofAll(java.util.stream.LongStream items)
ImmutableLongList
ofAll(LongIterable items)
ImmutableLongList
with()
Same asImmutableLongListFactory.empty()
.ImmutableLongList
with(long one)
ImmutableLongList
with(long... items)
ImmutableLongList
withAll(java.lang.Iterable<java.lang.Long> iterable)
ImmutableLongList
withAll(java.util.stream.LongStream items)
ImmutableLongList
withAll(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongListFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongList empty()
- Specified by:
empty
in interfaceImmutableLongListFactory
-
of
public ImmutableLongList of()
Description copied from interface:ImmutableLongListFactory
Same asImmutableLongListFactory.empty()
.- Specified by:
of
in interfaceImmutableLongListFactory
-
with
public ImmutableLongList with()
Description copied from interface:ImmutableLongListFactory
Same asImmutableLongListFactory.empty()
.- Specified by:
with
in interfaceImmutableLongListFactory
-
of
public ImmutableLongList of(long one)
Description copied from interface:ImmutableLongListFactory
Same asImmutableLongListFactory.with(long)
.- Specified by:
of
in interfaceImmutableLongListFactory
-
with
public ImmutableLongList with(long one)
- Specified by:
with
in interfaceImmutableLongListFactory
-
of
public ImmutableLongList of(long... items)
Description copied from interface:ImmutableLongListFactory
- Specified by:
of
in interfaceImmutableLongListFactory
-
with
public ImmutableLongList with(long... items)
- Specified by:
with
in interfaceImmutableLongListFactory
-
ofAll
public ImmutableLongList ofAll(LongIterable items)
Description copied from interface:ImmutableLongListFactory
- Specified by:
ofAll
in interfaceImmutableLongListFactory
-
withAll
public ImmutableLongList withAll(LongIterable items)
- Specified by:
withAll
in interfaceImmutableLongListFactory
-
ofAll
public ImmutableLongList ofAll(java.lang.Iterable<java.lang.Long> iterable)
Description copied from interface:ImmutableLongListFactory
- Specified by:
ofAll
in interfaceImmutableLongListFactory
- Since:
- 10.0
-
withAll
public ImmutableLongList withAll(java.lang.Iterable<java.lang.Long> iterable)
- Specified by:
withAll
in interfaceImmutableLongListFactory
- Since:
- 10.0
-
ofAll
public ImmutableLongList ofAll(java.util.stream.LongStream items)
- Specified by:
ofAll
in interfaceImmutableLongListFactory
- Since:
- 9.0
-
withAll
public ImmutableLongList withAll(java.util.stream.LongStream items)
- Specified by:
withAll
in interfaceImmutableLongListFactory
- Since:
- 9.0
-
-