MutableBagFactory@Immutable public final class MutableBagFactoryImpl extends Object implements MutableBagFactory
| Constructor | Description |
|---|---|
MutableBagFactoryImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
<T> MutableBag<T> |
empty() |
|
<T> MutableBag<T> |
of() |
Same as
MutableBagFactory.empty(). |
<T> MutableBag<T> |
of(T... elements) |
Same as
MutableBagFactory.with(Object[]). |
<T> MutableBag<T> |
ofAll(Iterable<? extends T> items) |
Same as
MutableBagFactory.withAll(Iterable). |
<T> MutableBag<T> |
with() |
Same as
MutableBagFactory.empty(). |
<T> MutableBag<T> |
with(T... elements) |
|
<T> MutableBag<T> |
withAll(Iterable<? extends T> items) |
public <T> MutableBag<T> empty()
empty in interface MutableBagFactorypublic <T> MutableBag<T> of()
MutableBagFactoryMutableBagFactory.empty().of in interface MutableBagFactorypublic <T> MutableBag<T> with()
MutableBagFactoryMutableBagFactory.empty().with in interface MutableBagFactorypublic <T> MutableBag<T> of(T... elements)
MutableBagFactoryMutableBagFactory.with(Object[]).of in interface MutableBagFactorypublic <T> MutableBag<T> with(T... elements)
with in interface MutableBagFactorypublic <T> MutableBag<T> ofAll(Iterable<? extends T> items)
MutableBagFactoryMutableBagFactory.withAll(Iterable).ofAll in interface MutableBagFactorypublic <T> MutableBag<T> withAll(Iterable<? extends T> items)
withAll in interface MutableBagFactoryCopyright © 2004–2017. All rights reserved.