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 ImmutableLongListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableLongListempty()ImmutableLongListof()Same asImmutableLongListFactory.empty().ImmutableLongListof(long one)Same asImmutableLongListFactory.with(long).ImmutableLongListof(long... items)ImmutableLongListofAll(java.lang.Iterable<java.lang.Long> iterable)ImmutableLongListofAll(java.util.stream.LongStream items)ImmutableLongListofAll(LongIterable items)ImmutableLongListwith()Same asImmutableLongListFactory.empty().ImmutableLongListwith(long one)ImmutableLongListwith(long... items)ImmutableLongListwithAll(java.lang.Iterable<java.lang.Long> iterable)ImmutableLongListwithAll(java.util.stream.LongStream items)ImmutableLongListwithAll(LongIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableLongListFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableLongList empty()
- Specified by:
emptyin interfaceImmutableLongListFactory
-
of
public ImmutableLongList of()
Description copied from interface:ImmutableLongListFactorySame asImmutableLongListFactory.empty().- Specified by:
ofin interfaceImmutableLongListFactory
-
with
public ImmutableLongList with()
Description copied from interface:ImmutableLongListFactorySame asImmutableLongListFactory.empty().- Specified by:
within interfaceImmutableLongListFactory
-
of
public ImmutableLongList of(long one)
Description copied from interface:ImmutableLongListFactorySame asImmutableLongListFactory.with(long).- Specified by:
ofin interfaceImmutableLongListFactory
-
with
public ImmutableLongList with(long one)
- Specified by:
within interfaceImmutableLongListFactory
-
of
public ImmutableLongList of(long... items)
Description copied from interface:ImmutableLongListFactory- Specified by:
ofin interfaceImmutableLongListFactory
-
with
public ImmutableLongList with(long... items)
- Specified by:
within interfaceImmutableLongListFactory
-
ofAll
public ImmutableLongList ofAll(LongIterable items)
Description copied from interface:ImmutableLongListFactory- Specified by:
ofAllin interfaceImmutableLongListFactory
-
withAll
public ImmutableLongList withAll(LongIterable items)
- Specified by:
withAllin interfaceImmutableLongListFactory
-
ofAll
public ImmutableLongList ofAll(java.lang.Iterable<java.lang.Long> iterable)
Description copied from interface:ImmutableLongListFactory- Specified by:
ofAllin interfaceImmutableLongListFactory- Since:
- 10.0
-
withAll
public ImmutableLongList withAll(java.lang.Iterable<java.lang.Long> iterable)
- Specified by:
withAllin interfaceImmutableLongListFactory- Since:
- 10.0
-
ofAll
public ImmutableLongList ofAll(java.util.stream.LongStream items)
- Specified by:
ofAllin interfaceImmutableLongListFactory- Since:
- 9.0
-
withAll
public ImmutableLongList withAll(java.util.stream.LongStream items)
- Specified by:
withAllin interfaceImmutableLongListFactory- Since:
- 9.0
-
-