public interface ImmutableBagFactory
ImmutableBag.| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableBag<T> |
of()
Same as
with(). |
<T> ImmutableBag<T> |
of(T... elements)
Same as
with(Object[]). |
<T> ImmutableBag<T> |
of(T element)
Same as
with(Object). |
<T> ImmutableBag<T> |
ofAll(java.lang.Iterable<? extends T> items)
Same as
withAll(Iterable). |
<T> ImmutableBag<T> |
with() |
<T> ImmutableBag<T> |
with(T... elements) |
<T> ImmutableBag<T> |
with(T element) |
<T> ImmutableBag<T> |
withAll(java.lang.Iterable<? extends T> items) |
<T> ImmutableBag<T> of()
with().<T> ImmutableBag<T> with()
<T> ImmutableBag<T> of(T element)
with(Object).<T> ImmutableBag<T> with(T element)
<T> ImmutableBag<T> of(T... elements)
with(Object[]).<T> ImmutableBag<T> with(T... elements)
<T> ImmutableBag<T> ofAll(java.lang.Iterable<? extends T> items)
withAll(Iterable).<T> ImmutableBag<T> withAll(java.lang.Iterable<? extends T> items)