@Immutable
public final class MutableListFactoryImpl
extends java.lang.Object
implements com.gs.collections.api.factory.list.MutableListFactory
| Constructor and Description |
|---|
MutableListFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> com.gs.collections.api.list.MutableList<T> |
of()
Same as
MutableListFactory.with(). |
<T> com.gs.collections.api.list.MutableList<T> |
of(T... items)
Same as
MutableListFactory.with(Object[]). |
<T> com.gs.collections.api.list.MutableList<T> |
ofAll(java.lang.Iterable<? extends T> iterable)
Same as
MutableListFactory.withAll(Iterable). |
<T> com.gs.collections.api.list.MutableList<T> |
with() |
<T> com.gs.collections.api.list.MutableList<T> |
with(T... items) |
<T> com.gs.collections.api.list.MutableList<T> |
withAll(java.lang.Iterable<? extends T> iterable) |
<T> com.gs.collections.api.list.MutableList<T> |
withNValues(int size,
com.gs.collections.api.block.function.Function0<T> factory) |
public <T> com.gs.collections.api.list.MutableList<T> of()
com.gs.collections.api.factory.list.MutableListFactoryMutableListFactory.with().of in interface com.gs.collections.api.factory.list.MutableListFactorypublic <T> com.gs.collections.api.list.MutableList<T> with()
with in interface com.gs.collections.api.factory.list.MutableListFactorypublic <T> com.gs.collections.api.list.MutableList<T> of(T... items)
com.gs.collections.api.factory.list.MutableListFactoryMutableListFactory.with(Object[]).of in interface com.gs.collections.api.factory.list.MutableListFactorypublic <T> com.gs.collections.api.list.MutableList<T> with(T... items)
with in interface com.gs.collections.api.factory.list.MutableListFactorypublic <T> com.gs.collections.api.list.MutableList<T> ofAll(java.lang.Iterable<? extends T> iterable)
com.gs.collections.api.factory.list.MutableListFactoryMutableListFactory.withAll(Iterable).ofAll in interface com.gs.collections.api.factory.list.MutableListFactorypublic <T> com.gs.collections.api.list.MutableList<T> withAll(java.lang.Iterable<? extends T> iterable)
withAll in interface com.gs.collections.api.factory.list.MutableListFactorypublic <T> com.gs.collections.api.list.MutableList<T> withNValues(int size,
com.gs.collections.api.block.function.Function0<T> factory)
withNValues in interface com.gs.collections.api.factory.list.MutableListFactory