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()of(short... items) ofAll(ShortIterable items) with()with(short... items) Creates a new list using the passeditemsargument as the backing store.withAll(ShortIterable items) withInitialCapacity(int capacity) 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
- Specified by:
ofin interfaceMutableShortListFactory
-
with
- Specified by:
within interfaceMutableShortListFactory
-
withInitialCapacity
- Specified by:
withInitialCapacityin interfaceMutableShortListFactory
-
of
- 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
- Specified by:
ofAllin interfaceMutableShortListFactory
-
withAll
- Specified by:
withAllin interfaceMutableShortListFactory
-
ofAll
- Specified by:
ofAllin interfaceMutableShortListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableShortListFactory- Since:
- 10.0
-