MutableSortedBagFactorypublic class MutableSortedBagFactoryImpl extends java.lang.Object implements MutableSortedBagFactory
| Modifier and Type | Field | Description |
|---|---|---|
static MutableSortedBagFactory |
INSTANCE |
| Constructor | Description |
|---|---|
MutableSortedBagFactoryImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
<T> MutableSortedBag<T> |
empty() |
|
<T> MutableSortedBag<T> |
empty(java.util.Comparator<? super T> comparator) |
|
<T> MutableSortedBag<T> |
of() |
Same as
MutableSortedBagFactory.with(). |
<T> MutableSortedBag<T> |
of(java.util.Comparator<? super T> comparator) |
|
<T> MutableSortedBag<T> |
of(java.util.Comparator<? super T> comparator,
T... elements) |
|
<T> MutableSortedBag<T> |
of(T... elements) |
|
<T> MutableSortedBag<T> |
ofAll(java.lang.Iterable<? extends T> items) |
|
<T> MutableSortedBag<T> |
ofAll(java.util.Comparator<? super T> comparator,
java.lang.Iterable<? extends T> items) |
|
<T> MutableSortedBag<T> |
with() |
|
<T> MutableSortedBag<T> |
with(java.util.Comparator<? super T> comparator) |
|
<T> MutableSortedBag<T> |
with(java.util.Comparator<? super T> comparator,
T... elements) |
|
<T> MutableSortedBag<T> |
with(T... elements) |
|
<T> MutableSortedBag<T> |
withAll(java.lang.Iterable<? extends T> items) |
|
<T> MutableSortedBag<T> |
withAll(java.util.Comparator<? super T> comparator,
java.lang.Iterable<? extends T> items) |
public static final MutableSortedBagFactory INSTANCE
public <T> MutableSortedBag<T> empty()
empty in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> empty(java.util.Comparator<? super T> comparator)
empty in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> of()
MutableSortedBagFactoryMutableSortedBagFactory.with().of in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> with()
with in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> of(java.util.Comparator<? super T> comparator)
MutableSortedBagFactoryof in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> with(java.util.Comparator<? super T> comparator)
with in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> of(T... elements)
MutableSortedBagFactoryof in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> with(T... elements)
with in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> of(java.util.Comparator<? super T> comparator, T... elements)
MutableSortedBagFactoryof in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> with(java.util.Comparator<? super T> comparator, T... elements)
with in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> ofAll(java.lang.Iterable<? extends T> items)
MutableSortedBagFactoryofAll in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> withAll(java.lang.Iterable<? extends T> items)
withAll in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
MutableSortedBagFactoryofAll in interface MutableSortedBagFactorypublic <T> MutableSortedBag<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
withAll in interface MutableSortedBagFactoryCopyright © 2004–2020. All rights reserved.