@Immutable
public final class MutableBagFactoryImpl
extends java.lang.Object
implements com.gs.collections.api.factory.bag.MutableBagFactory
| Constructor and Description |
|---|
MutableBagFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> com.gs.collections.api.bag.MutableBag<T> |
empty() |
<T> com.gs.collections.api.bag.MutableBag<T> |
of()
Same as
MutableBagFactory.empty(). |
<T> com.gs.collections.api.bag.MutableBag<T> |
of(T... elements)
Same as
MutableBagFactory.with(Object[]). |
<T> com.gs.collections.api.bag.MutableBag<T> |
with()
Same as
MutableBagFactory.empty(). |
<T> com.gs.collections.api.bag.MutableBag<T> |
with(T... elements) |
public <T> com.gs.collections.api.bag.MutableBag<T> empty()
empty in interface com.gs.collections.api.factory.bag.MutableBagFactorypublic <T> com.gs.collections.api.bag.MutableBag<T> of()
com.gs.collections.api.factory.bag.MutableBagFactoryMutableBagFactory.empty().of in interface com.gs.collections.api.factory.bag.MutableBagFactorypublic <T> com.gs.collections.api.bag.MutableBag<T> with()
com.gs.collections.api.factory.bag.MutableBagFactoryMutableBagFactory.empty().with in interface com.gs.collections.api.factory.bag.MutableBagFactorypublic <T> com.gs.collections.api.bag.MutableBag<T> of(T... elements)
com.gs.collections.api.factory.bag.MutableBagFactoryMutableBagFactory.with(Object[]).of in interface com.gs.collections.api.factory.bag.MutableBagFactorypublic <T> com.gs.collections.api.bag.MutableBag<T> with(T... elements)
with in interface com.gs.collections.api.factory.bag.MutableBagFactory