Class MutableShortListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableShortListFactoryImpl
-
- All Implemented Interfaces:
MutableShortListFactory
public class MutableShortListFactoryImpl extends java.lang.Object implements MutableShortListFactory
MutableShortListFactoryImpl is a factory implementation which creates instances of typeMutableShortList. This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableShortListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortListempty()MutableShortListof()Same asMutableShortListFactory.empty().MutableShortListof(short... items)MutableShortListofAll(java.lang.Iterable<java.lang.Short> iterable)MutableShortListofAll(ShortIterable items)MutableShortListwith()Same asMutableShortListFactory.empty().MutableShortListwith(short... items)Creates a new list using the passeditemsargument as the backing store.MutableShortListwithAll(java.lang.Iterable<java.lang.Short> iterable)MutableShortListwithAll(ShortIterable items)MutableShortListwithInitialCapacity(int capacity)Same asMutableShortListFactory.empty().-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableShortListFactory
wrapCopy
-
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortListFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortList empty()
- Specified by:
emptyin interfaceMutableShortListFactory
-
of
public MutableShortList of()
Description copied from interface:MutableShortListFactorySame asMutableShortListFactory.empty().- Specified by:
ofin interfaceMutableShortListFactory
-
with
public MutableShortList with()
Description copied from interface:MutableShortListFactorySame asMutableShortListFactory.empty().- Specified by:
within interfaceMutableShortListFactory
-
withInitialCapacity
public MutableShortList withInitialCapacity(int capacity)
Description copied from interface:MutableShortListFactorySame asMutableShortListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortListFactory
-
of
public MutableShortList of(short... items)
Description copied from interface:MutableShortListFactory- Specified by:
ofin interfaceMutableShortListFactory
-
with
public MutableShortList with(short... items)
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
public MutableShortList ofAll(ShortIterable items)
Description copied from interface:MutableShortListFactory- Specified by:
ofAllin interfaceMutableShortListFactory
-
withAll
public MutableShortList withAll(ShortIterable items)
- Specified by:
withAllin interfaceMutableShortListFactory
-
ofAll
public MutableShortList ofAll(java.lang.Iterable<java.lang.Short> iterable)
Description copied from interface:MutableShortListFactory- Specified by:
ofAllin interfaceMutableShortListFactory- Since:
- 10.0
-
withAll
public MutableShortList withAll(java.lang.Iterable<java.lang.Short> iterable)
- Specified by:
withAllin interfaceMutableShortListFactory- Since:
- 10.0
-
-