MutableListFactoryImplpublic interface MutableListFactory
| Modifier and Type | Method | Description |
|---|---|---|
<T> MutableList<T> |
empty() |
|
<T> MutableList<T> |
of() |
Same as
empty(). |
<T> MutableList<T> |
of(T... items) |
Same as
with(Object[]). |
<T> MutableList<T> |
ofAll(Iterable<? extends T> iterable) |
Same as
withAll(Iterable). |
<T> MutableList<T> |
with() |
Same as
empty(). |
<T> MutableList<T> |
with(T... items) |
|
<T> MutableList<T> |
withAll(Iterable<? extends T> iterable) |
|
<T> MutableList<T> |
withNValues(int size,
Function0<T> factory) |
<T> MutableList<T> empty()
<T> MutableList<T> of()
empty().<T> MutableList<T> with()
empty().<T> MutableList<T> of(T... items)
with(Object[]).<T> MutableList<T> with(T... items)
<T> MutableList<T> ofAll(Iterable<? extends T> iterable)
withAll(Iterable).<T> MutableList<T> withAll(Iterable<? extends T> iterable)
<T> MutableList<T> withNValues(int size, Function0<T> factory)
Copyright © 2004–2017. All rights reserved.