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 passeditems
argument as the backing store.withAll
(LongStream items) withAll
(LongIterable items) withInitialCapacity
(int capacity) Same asMutableLongListFactory.empty()
.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 Details
-
INSTANCE
-
-
Constructor Details
-
MutableLongListFactoryImpl
public MutableLongListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableLongListFactory
-
of
Description copied from interface:MutableLongListFactory
Same asMutableLongListFactory.empty()
.- Specified by:
of
in interfaceMutableLongListFactory
-
with
Description copied from interface:MutableLongListFactory
Same asMutableLongListFactory.empty()
.- Specified by:
with
in interfaceMutableLongListFactory
-
withInitialCapacity
Description copied from interface:MutableLongListFactory
Same asMutableLongListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableLongListFactory
-
of
Description copied from interface:MutableLongListFactory
Same asMutableLongListFactory.with(long[])
.- Specified by:
of
in interfaceMutableLongListFactory
-
with
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
Description copied from interface:MutableLongListFactory
- Specified by:
ofAll
in interfaceMutableLongListFactory
-
withAll
- Specified by:
withAll
in interfaceMutableLongListFactory
-
ofAll
Description copied from interface:MutableLongListFactory
- Specified by:
ofAll
in interfaceMutableLongListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableLongListFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceMutableLongListFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceMutableLongListFactory
- Since:
- 9.0
-