Class MutableShortListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableShortListFactoryImpl
-
- All Implemented Interfaces:
MutableShortListFactory
public class MutableShortListFactoryImpl extends 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()MutableShortListof(short... items)MutableShortListofAll(Iterable<Short> iterable)MutableShortListofAll(ShortIterable items)MutableShortListwith()MutableShortListwith(short... items)Creates a new list using the passeditemsargument as the backing store.MutableShortListwithAll(Iterable<Short> iterable)MutableShortListwithAll(ShortIterable items)MutableShortListwithInitialCapacity(int capacity)-
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 Detail
-
INSTANCE
public static final MutableShortListFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortList empty()
- Specified by:
emptyin interfaceMutableShortListFactory
-
of
public MutableShortList of()
- Specified by:
ofin interfaceMutableShortListFactory
-
with
public MutableShortList with()
- Specified by:
within interfaceMutableShortListFactory
-
withInitialCapacity
public MutableShortList withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMutableShortListFactory
-
of
public MutableShortList of(short... items)
- 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)
- Specified by:
ofAllin interfaceMutableShortListFactory
-
withAll
public MutableShortList withAll(ShortIterable items)
- Specified by:
withAllin interfaceMutableShortListFactory
-
ofAll
public MutableShortList ofAll(Iterable<Short> iterable)
- Specified by:
ofAllin interfaceMutableShortListFactory- Since:
- 10.0
-
withAll
public MutableShortList withAll(Iterable<Short> iterable)
- Specified by:
withAllin interfaceMutableShortListFactory- Since:
- 10.0
-
-