Class MutableLongListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableLongListFactoryImpl
-
- All Implemented Interfaces:
MutableLongListFactory
public class MutableLongListFactoryImpl extends Object implements MutableLongListFactory
MutableLongListFactoryImpl is a factory implementation which creates instances of typeMutableLongList
. This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongList
empty()
MutableLongList
of()
MutableLongList
of(long... items)
MutableLongList
ofAll(Iterable<Long> iterable)
MutableLongList
ofAll(LongStream items)
MutableLongList
ofAll(LongIterable items)
MutableLongList
with()
MutableLongList
with(long... items)
Creates a new list using the passeditems
argument as the backing store.MutableLongList
withAll(Iterable<Long> iterable)
MutableLongList
withAll(LongStream items)
MutableLongList
withAll(LongIterable items)
MutableLongList
withInitialCapacity(int capacity)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableLongListFactory
wrapCopy
-
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongListFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongList empty()
- Specified by:
empty
in interfaceMutableLongListFactory
-
of
public MutableLongList of()
- Specified by:
of
in interfaceMutableLongListFactory
-
with
public MutableLongList with()
- Specified by:
with
in interfaceMutableLongListFactory
-
withInitialCapacity
public MutableLongList withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableLongListFactory
-
of
public MutableLongList of(long... items)
- Specified by:
of
in interfaceMutableLongListFactory
-
with
public MutableLongList with(long... items)
Creates a new list using the passeditems
argument as the backing store.!!! WARNING: This method uses the passed in array, so can be very unsafe if the original array is held onto anywhere else. !!!
- Specified by:
with
in interfaceMutableLongListFactory
-
ofAll
public MutableLongList ofAll(LongIterable items)
- Specified by:
ofAll
in interfaceMutableLongListFactory
-
withAll
public MutableLongList withAll(LongIterable items)
- Specified by:
withAll
in interfaceMutableLongListFactory
-
ofAll
public MutableLongList ofAll(Iterable<Long> iterable)
- Specified by:
ofAll
in interfaceMutableLongListFactory
- Since:
- 10.0
-
withAll
public MutableLongList withAll(Iterable<Long> iterable)
- Specified by:
withAll
in interfaceMutableLongListFactory
- Since:
- 10.0
-
ofAll
public MutableLongList ofAll(LongStream items)
- Specified by:
ofAll
in interfaceMutableLongListFactory
- Since:
- 9.0
-
withAll
public MutableLongList withAll(LongStream items)
- Specified by:
withAll
in interfaceMutableLongListFactory
- Since:
- 9.0
-
-