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
-
Constructor Summary
-
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 passeditems
argument 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, wait
Methods 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:
empty
in interfaceMutableShortListFactory
-
of
Description copied from interface:MutableShortListFactory
Same asMutableShortListFactory.empty()
.- Specified by:
of
in interfaceMutableShortListFactory
-
with
Description copied from interface:MutableShortListFactory
Same asMutableShortListFactory.empty()
.- Specified by:
with
in interfaceMutableShortListFactory
-
withInitialCapacity
Description copied from interface:MutableShortListFactory
Same asMutableShortListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortListFactory
-
of
Description copied from interface:MutableShortListFactory
- Specified by:
of
in interfaceMutableShortListFactory
-
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 interfaceMutableShortListFactory
-
ofAll
Description copied from interface:MutableShortListFactory
- Specified by:
ofAll
in interfaceMutableShortListFactory
-
withAll
- Specified by:
withAll
in interfaceMutableShortListFactory
-
ofAll
Description copied from interface:MutableShortListFactory
- Specified by:
ofAll
in interfaceMutableShortListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableShortListFactory
- Since:
- 10.0
-