@Immutable
public final class ImmutableBagFactoryImpl
extends java.lang.Object
implements com.gs.collections.api.factory.bag.ImmutableBagFactory
| Constructor and Description |
|---|
ImmutableBagFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> com.gs.collections.api.bag.ImmutableBag<T> |
of()
Same as
ImmutableBagFactory.with(). |
<T> com.gs.collections.api.bag.ImmutableBag<T> |
of(T... elements)
Same as
ImmutableBagFactory.with(Object[]). |
<T> com.gs.collections.api.bag.ImmutableBag<T> |
of(T element)
Same as
ImmutableBagFactory.with(Object). |
<T> com.gs.collections.api.bag.ImmutableBag<T> |
ofAll(java.lang.Iterable<? extends T> items)
Same as
ImmutableBagFactory.withAll(Iterable). |
<T> com.gs.collections.api.bag.ImmutableBag<T> |
with() |
<T> com.gs.collections.api.bag.ImmutableBag<T> |
with(T... elements) |
<T> com.gs.collections.api.bag.ImmutableBag<T> |
with(T element) |
<T> com.gs.collections.api.bag.ImmutableBag<T> |
withAll(java.lang.Iterable<? extends T> items) |
public <T> com.gs.collections.api.bag.ImmutableBag<T> of()
com.gs.collections.api.factory.bag.ImmutableBagFactoryImmutableBagFactory.with().of in interface com.gs.collections.api.factory.bag.ImmutableBagFactorypublic <T> com.gs.collections.api.bag.ImmutableBag<T> with()
with in interface com.gs.collections.api.factory.bag.ImmutableBagFactorypublic <T> com.gs.collections.api.bag.ImmutableBag<T> of(T element)
com.gs.collections.api.factory.bag.ImmutableBagFactoryImmutableBagFactory.with(Object).of in interface com.gs.collections.api.factory.bag.ImmutableBagFactorypublic <T> com.gs.collections.api.bag.ImmutableBag<T> with(T element)
with in interface com.gs.collections.api.factory.bag.ImmutableBagFactorypublic <T> com.gs.collections.api.bag.ImmutableBag<T> of(T... elements)
com.gs.collections.api.factory.bag.ImmutableBagFactoryImmutableBagFactory.with(Object[]).of in interface com.gs.collections.api.factory.bag.ImmutableBagFactorypublic <T> com.gs.collections.api.bag.ImmutableBag<T> with(T... elements)
with in interface com.gs.collections.api.factory.bag.ImmutableBagFactorypublic <T> com.gs.collections.api.bag.ImmutableBag<T> ofAll(java.lang.Iterable<? extends T> items)
com.gs.collections.api.factory.bag.ImmutableBagFactoryImmutableBagFactory.withAll(Iterable).ofAll in interface com.gs.collections.api.factory.bag.ImmutableBagFactorypublic <T> com.gs.collections.api.bag.ImmutableBag<T> withAll(java.lang.Iterable<? extends T> items)
withAll in interface com.gs.collections.api.factory.bag.ImmutableBagFactory