public class MutableShortListFactoryImpl extends Object implements MutableShortListFactory
MutableShortList.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.| Modifier and Type | Field and Description |
|---|---|
static MutableShortListFactory |
INSTANCE |
| Constructor and Description |
|---|
MutableShortListFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
empty() |
MutableShortList |
of() |
MutableShortList |
of(short... items) |
MutableShortList |
ofAll(Iterable<Short> iterable) |
MutableShortList |
ofAll(ShortIterable items) |
MutableShortList |
with() |
MutableShortList |
with(short... items)
Creates a new list using the passed
items argument as the backing store. |
MutableShortList |
withAll(Iterable<Short> iterable) |
MutableShortList |
withAll(ShortIterable items) |
MutableShortList |
withInitialCapacity(int capacity) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrapCopypublic static final MutableShortListFactory INSTANCE
public MutableShortList empty()
empty in interface MutableShortListFactorypublic MutableShortList of()
of in interface MutableShortListFactorypublic MutableShortList with()
with in interface MutableShortListFactorypublic MutableShortList withInitialCapacity(int capacity)
withInitialCapacity in interface MutableShortListFactorypublic MutableShortList of(short... items)
of in interface MutableShortListFactorypublic MutableShortList with(short... items)
items 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. !!!
with in interface MutableShortListFactorypublic MutableShortList ofAll(ShortIterable items)
ofAll in interface MutableShortListFactorypublic MutableShortList withAll(ShortIterable items)
withAll in interface MutableShortListFactorypublic MutableShortList ofAll(Iterable<Short> iterable)
ofAll in interface MutableShortListFactorypublic MutableShortList withAll(Iterable<Short> iterable)
withAll in interface MutableShortListFactoryCopyright © 2004–2022. All rights reserved.