public interface MutableLongListFactory
MutableLongList.
This file was automatically generated from template file mutablePrimitiveListFactory.stg.| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
empty() |
MutableLongList |
of()
Same as
empty(). |
MutableLongList |
of(long... items)
Same as
with(long[]). |
MutableLongList |
ofAll(Iterable<Long> iterable)
Same as
withAll(Iterable). |
MutableLongList |
ofAll(LongIterable items)
Same as
withAll(LongIterable). |
MutableLongList |
ofAll(LongStream items) |
MutableLongList |
with()
Same as
empty(). |
MutableLongList |
with(long... items)
Creates a new list using the passed
items argument as the backing store. |
MutableLongList |
withAll(Iterable<Long> iterable) |
MutableLongList |
withAll(LongIterable items) |
MutableLongList |
withAll(LongStream items) |
default MutableLongList |
withInitialCapacity(int capacity)
Same as
empty(). |
default MutableLongList |
wrapCopy(long... array)
Creates a new list by first copying the array passed in.
|
MutableLongList empty()
MutableLongList of()
empty().MutableLongList with()
empty().default MutableLongList withInitialCapacity(int capacity)
empty(). but takes in an initial capacityMutableLongList of(long... items)
with(long[]).MutableLongList with(long... 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 MutableLongList wrapCopy(long... array)
MutableLongList ofAll(LongIterable items)
withAll(LongIterable).MutableLongList withAll(LongIterable items)
MutableLongList ofAll(Iterable<Long> iterable)
withAll(Iterable).MutableLongList withAll(Iterable<Long> iterable)
MutableLongList ofAll(LongStream items)
MutableLongList withAll(LongStream items)
Copyright © 2004–2021. All rights reserved.