Class MutableDoubleListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.mutable.primitive.MutableDoubleListFactoryImpl
- All Implemented Interfaces:
MutableDoubleListFactory
MutableDoubleListFactoryImpl is a factory implementation which creates instances of type
MutableDoubleList.
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 asMutableDoubleListFactory.empty().of(double... items) ofAll(DoubleStream items) ofAll(DoubleIterable items) with()Same asMutableDoubleListFactory.empty().with(double... items) Creates a new list using the passeditemsargument as the backing store.withAll(DoubleStream items) withAll(DoubleIterable items) withInitialCapacity(int capacity) Same asMutableDoubleListFactory.empty().Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableDoubleListFactory
wrapCopy
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableDoubleListFactoryImpl
public MutableDoubleListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableDoubleListFactory
-
of
Description copied from interface:MutableDoubleListFactorySame asMutableDoubleListFactory.empty().- Specified by:
ofin interfaceMutableDoubleListFactory
-
with
Description copied from interface:MutableDoubleListFactorySame asMutableDoubleListFactory.empty().- Specified by:
within interfaceMutableDoubleListFactory
-
withInitialCapacity
Description copied from interface:MutableDoubleListFactorySame asMutableDoubleListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableDoubleListFactory
-
of
Description copied from interface:MutableDoubleListFactory- Specified by:
ofin interfaceMutableDoubleListFactory
-
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 interfaceMutableDoubleListFactory
-
ofAll
Description copied from interface:MutableDoubleListFactory- Specified by:
ofAllin interfaceMutableDoubleListFactory
-
withAll
- Specified by:
withAllin interfaceMutableDoubleListFactory
-
ofAll
Description copied from interface:MutableDoubleListFactory- Specified by:
ofAllin interfaceMutableDoubleListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableDoubleListFactory- Since:
- 10.0
-
ofAll
- Specified by:
ofAllin interfaceMutableDoubleListFactory- Since:
- 9.0
-
withAll
- Specified by:
withAllin interfaceMutableDoubleListFactory- Since:
- 9.0
-