Class MutableLongListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.mutable.primitive.MutableLongListFactoryImpl
- All Implemented Interfaces:
MutableLongListFactory
MutableLongListFactoryImpl is a factory implementation which creates instances of type
MutableLongList.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()of()Same asMutableLongListFactory.empty().of(long... items) Same asMutableLongListFactory.with(long[]).ofAll(LongStream items) ofAll(LongIterable items) with()Same asMutableLongListFactory.empty().with(long... items) Creates a new list using the passeditemsargument as the backing store.withAll(LongStream items) withAll(LongIterable items) withInitialCapacity(int capacity) Same asMutableLongListFactory.empty().Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MutableLongListFactory
wrapCopy
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableLongListFactoryImpl
public MutableLongListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableLongListFactory
-
of
Description copied from interface:MutableLongListFactorySame asMutableLongListFactory.empty().- Specified by:
ofin interfaceMutableLongListFactory
-
with
Description copied from interface:MutableLongListFactorySame asMutableLongListFactory.empty().- Specified by:
within interfaceMutableLongListFactory
-
withInitialCapacity
Description copied from interface:MutableLongListFactorySame asMutableLongListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongListFactory
-
of
Description copied from interface:MutableLongListFactorySame asMutableLongListFactory.with(long[]).- Specified by:
ofin interfaceMutableLongListFactory
-
with
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
Description copied from interface:MutableLongListFactory- Specified by:
ofAllin interfaceMutableLongListFactory
-
withAll
- Specified by:
withAllin interfaceMutableLongListFactory
-
ofAll
Description copied from interface:MutableLongListFactory- Specified by:
ofAllin interfaceMutableLongListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableLongListFactory- Since:
- 10.0
-
ofAll
- Specified by:
ofAllin interfaceMutableLongListFactory- Since:
- 9.0
-
withAll
- Specified by:
withAllin interfaceMutableLongListFactory- Since:
- 9.0
-