public final class MutableSortedBagFactoryImpl extends Object implements MutableSortedBagFactory
Constructor and Description |
---|
MutableSortedBagFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
<T> MutableSortedBag<T> |
empty() |
<T> MutableSortedBag<T> |
empty(Comparator<? super T> comparator) |
<T> MutableSortedBag<T> |
of()
Same as
MutableSortedBagFactory.with() . |
<T> MutableSortedBag<T> |
of(Comparator<? super T> comparator)
|
<T> MutableSortedBag<T> |
of(Comparator<? super T> comparator,
T... elements)
|
<T> MutableSortedBag<T> |
of(T... elements)
|
<T> MutableSortedBag<T> |
ofAll(Comparator<? super T> comparator,
Iterable<? extends T> items)
|
<T> MutableSortedBag<T> |
ofAll(Iterable<? extends T> items)
|
<T> MutableSortedBag<T> |
with() |
<T> MutableSortedBag<T> |
with(Comparator<? super T> comparator) |
<T> MutableSortedBag<T> |
with(Comparator<? super T> comparator,
T... elements) |
<T> MutableSortedBag<T> |
with(T... elements) |
<T> MutableSortedBag<T> |
withAll(Comparator<? super T> comparator,
Iterable<? extends T> items) |
<T> MutableSortedBag<T> |
withAll(Iterable<? extends T> items) |
public <T> MutableSortedBag<T> empty()
empty
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> empty(Comparator<? super T> comparator)
empty
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> of()
MutableSortedBagFactory
MutableSortedBagFactory.with()
.of
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> with()
with
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> of(Comparator<? super T> comparator)
MutableSortedBagFactory
of
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> with(Comparator<? super T> comparator)
with
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> of(T... elements)
MutableSortedBagFactory
of
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> with(T... elements)
with
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> of(Comparator<? super T> comparator, T... elements)
MutableSortedBagFactory
of
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> with(Comparator<? super T> comparator, T... elements)
with
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> ofAll(Iterable<? extends T> items)
MutableSortedBagFactory
ofAll
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> withAll(Iterable<? extends T> items)
withAll
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
MutableSortedBagFactory
ofAll
in interface MutableSortedBagFactory
public <T> MutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
withAll
in interface MutableSortedBagFactory
Copyright © 2004–2016. All rights reserved.