public interface MutableShortListFactory
MutableShortList.
This file was automatically generated from template file mutablePrimitiveListFactory.stg.| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
empty() |
MutableShortList |
of()
Same as
empty(). |
MutableShortList |
of(short... items)
Same as
with(short[]). |
MutableShortList |
ofAll(Iterable<Short> iterable)
Same as
withAll(Iterable). |
MutableShortList |
ofAll(ShortIterable items)
Same as
withAll(ShortIterable). |
MutableShortList |
with()
Same as
empty(). |
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) |
default MutableShortList |
withInitialCapacity(int capacity)
Same as
empty(). |
default MutableShortList |
wrapCopy(short... array)
Creates a new list by first copying the array passed in.
|
MutableShortList empty()
MutableShortList of()
empty().MutableShortList with()
empty().default MutableShortList withInitialCapacity(int capacity)
empty(). but takes in an initial capacityMutableShortList of(short... items)
with(short[]).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. !!!
default MutableShortList wrapCopy(short... array)
MutableShortList ofAll(ShortIterable items)
withAll(ShortIterable).MutableShortList withAll(ShortIterable items)
MutableShortList ofAll(Iterable<Short> iterable)
withAll(Iterable).MutableShortList withAll(Iterable<Short> iterable)
Copyright © 2004–2020. All rights reserved.