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 MutableLongListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongListempty()MutableLongListof()MutableLongListof(long... items)MutableLongListofAll(Iterable<Long> iterable)MutableLongListofAll(LongStream items)MutableLongListofAll(LongIterable items)MutableLongListwith()MutableLongListwith(long... items)Creates a new list using the passeditemsargument as the backing store.MutableLongListwithAll(Iterable<Long> iterable)MutableLongListwithAll(LongStream items)MutableLongListwithAll(LongIterable items)MutableLongListwithInitialCapacity(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:
emptyin interfaceMutableLongListFactory
-
of
public MutableLongList of()
- Specified by:
ofin interfaceMutableLongListFactory
-
with
public MutableLongList with()
- Specified by:
within interfaceMutableLongListFactory
-
withInitialCapacity
public MutableLongList withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMutableLongListFactory
-
of
public MutableLongList of(long... items)
- Specified by:
ofin interfaceMutableLongListFactory
-
with
public MutableLongList with(long... items)
Creates a new list using the passeditemsargument 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:
within interfaceMutableLongListFactory
-
ofAll
public MutableLongList ofAll(LongIterable items)
- Specified by:
ofAllin interfaceMutableLongListFactory
-
withAll
public MutableLongList withAll(LongIterable items)
- Specified by:
withAllin interfaceMutableLongListFactory
-
ofAll
public MutableLongList ofAll(Iterable<Long> iterable)
- Specified by:
ofAllin interfaceMutableLongListFactory- Since:
- 10.0
-
withAll
public MutableLongList withAll(Iterable<Long> iterable)
- Specified by:
withAllin interfaceMutableLongListFactory- Since:
- 10.0
-
ofAll
public MutableLongList ofAll(LongStream items)
- Specified by:
ofAllin interfaceMutableLongListFactory- Since:
- 9.0
-
withAll
public MutableLongList withAll(LongStream items)
- Specified by:
withAllin interfaceMutableLongListFactory- Since:
- 9.0
-
-