public class ImmutableSortedBagFactoryImpl extends Object implements ImmutableSortedBagFactory
| Modifier and Type | Field and Description |
|---|---|
static ImmutableSortedBagFactory |
INSTANCE |
| Constructor and Description |
|---|
ImmutableSortedBagFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableSortedBag<T> |
empty() |
<T> ImmutableSortedBag<T> |
empty(Comparator<? super T> comparator) |
<T> ImmutableSortedBag<T> |
of() |
<T> ImmutableSortedBag<T> |
of(Comparator<? super T> comparator) |
<T> ImmutableSortedBag<T> |
of(Comparator<? super T> comparator,
T... items) |
<T> ImmutableSortedBag<T> |
of(T... items) |
<T> ImmutableSortedBag<T> |
ofAll(Comparator<? super T> comparator,
Iterable<? extends T> items) |
<T> ImmutableSortedBag<T> |
ofAll(Iterable<? extends T> items) |
<T> ImmutableSortedBag<T> |
ofSortedBag(SortedBag<T> bag) |
<T> ImmutableSortedBag<T> |
with() |
<T> ImmutableSortedBag<T> |
with(Comparator<? super T> comparator) |
<T> ImmutableSortedBag<T> |
with(Comparator<? super T> comparator,
T... items) |
<T> ImmutableSortedBag<T> |
with(T... items) |
<T> ImmutableSortedBag<T> |
withAll(Comparator<? super T> comparator,
Iterable<? extends T> items) |
<T> ImmutableSortedBag<T> |
withAll(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(Comparator<? super T> comparator)
empty in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> of()
of in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> with()
with in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> of(T... items)
of in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> with(T... items)
with in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> ofAll(Iterable<? extends T> items)
ofAll in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> withAll(Iterable<? extends T> items)
withAll in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> of(Comparator<? super T> comparator)
of in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> with(Comparator<? super T> comparator)
with in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> of(Comparator<? super T> comparator, T... items)
of in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> with(Comparator<? super T> comparator, T... items)
with in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
ofAll in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
withAll in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> ofSortedBag(SortedBag<T> bag)
ofSortedBag in interface ImmutableSortedBagFactorypublic <T> ImmutableSortedBag<T> withSortedBag(SortedBag<T> bag)
withSortedBag in interface ImmutableSortedBagFactoryCopyright © 2004–2022. All rights reserved.