Class MutableShortListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.mutable.primitive.MutableShortListFactoryImpl
- All Implemented Interfaces:
MutableShortListFactory
MutableShortListFactoryImpl is a factory implementation which creates instances of type
MutableShortList.
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 asMutableShortListFactory.empty().of(short... items) ofAll(ShortIterable items) with()Same asMutableShortListFactory.empty().with(short... items) Creates a new list using the passeditemsargument as the backing store.withAll(ShortIterable items) withInitialCapacity(int capacity) Same asMutableShortListFactory.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.MutableShortListFactory
wrapCopy
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableShortListFactoryImpl
public MutableShortListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableShortListFactory
-
of
Description copied from interface:MutableShortListFactorySame asMutableShortListFactory.empty().- Specified by:
ofin interfaceMutableShortListFactory
-
with
Description copied from interface:MutableShortListFactorySame asMutableShortListFactory.empty().- Specified by:
within interfaceMutableShortListFactory
-
withInitialCapacity
Description copied from interface:MutableShortListFactorySame asMutableShortListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortListFactory
-
of
Description copied from interface:MutableShortListFactory- Specified by:
ofin interfaceMutableShortListFactory
-
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 interfaceMutableShortListFactory
-
ofAll
Description copied from interface:MutableShortListFactory- Specified by:
ofAllin interfaceMutableShortListFactory
-
withAll
- Specified by:
withAllin interfaceMutableShortListFactory
-
ofAll
Description copied from interface:MutableShortListFactory- Specified by:
ofAllin interfaceMutableShortListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableShortListFactory- Since:
- 10.0
-