| Modifier and Type | Field and Description |
|---|---|
| public static final MutableListFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> MutableList | |
| public <T> MutableList | fromStream(Stream<? extends T> stream)
Implements org.
|
| public <T> MutableList | with(T... items)
Implements org. Creates a new list using the passed |
| public <T> MutableList | withAll(Iterable<? extends T> iterable)
Implements org.
|
| public <T> MutableList | withInitialCapacity(int capacity)
Implements org. Same as |
| public <T> MutableList | withNValues(int size, Function0<? extends T> factory)
Implements org.
|
| INSTANCE | back to summary |
|---|---|
| public static final MutableListFactory INSTANCE | |
| MutableListFactoryImpl | back to summary |
|---|---|
| public MutableListFactoryImpl() | |
| empty | back to summary |
|---|---|
| public <T> MutableList Implements org.
| |
| fromStream | back to summary |
|---|---|
| public <T> MutableList Implements org.
| |
| with | back to summary |
|---|---|
| public <T> MutableList Implements org. Creates a new list using the passed !!! WARNING: This method uses the passed in array, so can be very unsafe if the original array is held onto anywhere else.
| |
| withAll | back to summary |
|---|---|
| public <T> MutableList Implements org.
| |
| withInitialCapacity | back to summary |
|---|---|
| public <T> MutableList Implements org. Doc from org. Same as
| |
| withNValues | back to summary |
|---|---|
| public <T> MutableList Implements org.
| |