ImmutableSortedBagFactorypublic class ImmutableSortedBagFactoryImpl extends java.lang.Object implements ImmutableSortedBagFactory
| Modifier and Type | Field | Description |
|---|---|---|
static ImmutableSortedBagFactory |
INSTANCE |
| Constructor | Description |
|---|---|
ImmutableSortedBagFactoryImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
<T> ImmutableSortedBag<T> |
empty() |
|
<T> ImmutableSortedBag<T> |
empty(java.util.Comparator<? super T> comparator) |
|
<T> ImmutableSortedBag<T> |
of() |
Same as
ImmutableSortedBagFactory.empty(). |
<T> ImmutableSortedBag<T> |
of(java.util.Comparator<? super T> comparator) |
|
<T> ImmutableSortedBag<T> |
of(java.util.Comparator<? super T> comparator,
T... items) |
|
<T> ImmutableSortedBag<T> |
of(T... items) |
|
<T> ImmutableSortedBag<T> |
ofAll(java.lang.Iterable<? extends T> items) |
|
<T> ImmutableSortedBag<T> |
ofAll(java.util.Comparator<? super T> comparator,
java.lang.Iterable<? extends T> items) |
|
<T> ImmutableSortedBag<T> |
ofSortedBag(SortedBag<T> bag) |
|
<T> ImmutableSortedBag<T> |
with() |
Same as
ImmutableSortedBagFactory.empty(). |
<T> ImmutableSortedBag<T> |
with(java.util.Comparator<? super T> comparator) |
|
<T> ImmutableSortedBag<T> |
with(java.util.Comparator<? super T> comparator,
T... items) |
|
<T> ImmutableSortedBag<T> |
with(T... items) |
|
<T> ImmutableSortedBag<T> |
withAll(java.lang.Iterable<? extends T> items) |
|
<T> ImmutableSortedBag<T> |
withAll(java.util.Comparator<? super T> comparator,
java.lang.Iterable<? extends T> items) |
|
<T> ImmutableSortedBag<T> |
withSortedBag(SortedBag<T> bag) |
public static final ImmutableSortedBagFactory INSTANCE
public <T> ImmutableSortedBag<T> empty()
empty in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> empty(java.util.Comparator<? super T> comparator)
empty in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> of()
ImmutableSortedBagFactoryImmutableSortedBagFactory.empty().of in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> with()
ImmutableSortedBagFactoryImmutableSortedBagFactory.empty().with in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> of(T... items)
ImmutableSortedBagFactoryof in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> with(T... items)
with in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> ofAll(java.lang.Iterable<? extends T> items)
ImmutableSortedBagFactoryofAll in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> withAll(java.lang.Iterable<? extends T> items)
withAll in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> of(java.util.Comparator<? super T> comparator)
ImmutableSortedBagFactoryof in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> with(java.util.Comparator<? super T> comparator)
with in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> of(java.util.Comparator<? super T> comparator, T... items)
ImmutableSortedBagFactoryof in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> with(java.util.Comparator<? super T> comparator, T... items)
with in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
ImmutableSortedBagFactoryofAll in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
withAll in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> ofSortedBag(SortedBag<T> bag)
ImmutableSortedBagFactoryofSortedBag in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> withSortedBag(SortedBag<T> bag)
withSortedBag in interface ImmutableSortedBagFactoryCopyright © 2004–2020. All rights reserved.