public class MutableLongListFactoryImpl extends Object implements MutableLongListFactory
MutableLongList.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.| Modifier and Type | Field and Description |
|---|---|
static MutableLongListFactory |
INSTANCE |
| Constructor and Description |
|---|
MutableLongListFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
empty() |
MutableLongList |
of() |
MutableLongList |
of(long... items) |
MutableLongList |
ofAll(Iterable<Long> iterable) |
MutableLongList |
ofAll(LongIterable items) |
MutableLongList |
ofAll(LongStream items) |
MutableLongList |
with() |
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) |
MutableLongList |
withInitialCapacity(int capacity) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrapCopypublic static final MutableLongListFactory INSTANCE
public MutableLongList empty()
empty in interface MutableLongListFactorypublic MutableLongList of()
of in interface MutableLongListFactorypublic MutableLongList with()
with in interface MutableLongListFactorypublic MutableLongList withInitialCapacity(int capacity)
withInitialCapacity in interface MutableLongListFactorypublic MutableLongList of(long... items)
of in interface MutableLongListFactorypublic 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. !!!
with in interface MutableLongListFactorypublic MutableLongList ofAll(LongIterable items)
ofAll in interface MutableLongListFactorypublic MutableLongList withAll(LongIterable items)
withAll in interface MutableLongListFactorypublic MutableLongList ofAll(Iterable<Long> iterable)
ofAll in interface MutableLongListFactorypublic MutableLongList withAll(Iterable<Long> iterable)
withAll in interface MutableLongListFactorypublic MutableLongList ofAll(LongStream items)
ofAll in interface MutableLongListFactorypublic MutableLongList withAll(LongStream items)
withAll in interface MutableLongListFactoryCopyright © 2004–2022. All rights reserved.