Interface MutableSortedBagFactory
- All Known Implementing Classes:
MutableSortedBagFactoryImpl
public interface MutableSortedBagFactory
A factory which creates instances of type
MutableSortedBag
.- Since:
- 6.0
-
Method Summary
Modifier and Type Method Description <T> MutableSortedBag<T>
empty()
<T> MutableSortedBag<T>
empty(Comparator<? super T> comparator)
<T> MutableSortedBag<T>
of()
Same aswith()
.<T> MutableSortedBag<T>
of(Comparator<? super T> comparator)
Same aswith(Comparator)
.<T> MutableSortedBag<T>
of(Comparator<? super T> comparator, T... elements)
Same aswith(Comparator, Object[])
.<T> MutableSortedBag<T>
of(T... elements)
Same aswith(Object[])
.<T> MutableSortedBag<T>
ofAll(Iterable<? extends T> items)
Same aswithAll(Comparator, Iterable)
.<T> MutableSortedBag<T>
ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
Same aswithAll(Comparator, Iterable)
<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(Iterable<? extends T> items)
<T> MutableSortedBag<T>
withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
-
Method Details
-
empty
-
empty
-
of
Same aswith()
. -
with
-
of
Same aswith(Comparator)
. -
with
-
of
Same aswith(Object[])
. -
with
-
of
Same aswith(Comparator, Object[])
. -
with
-
ofAll
Same aswithAll(Comparator, Iterable)
. -
withAll
-
ofAll
Same aswithAll(Comparator, Iterable)
-
withAll
-