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