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