Interface MutableSortedBagFactory
-
public interface MutableSortedBagFactoryA factory which creates instances of typeMutableSortedBag.- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
empty
<T> MutableSortedBag<T> empty()
-
empty
<T> MutableSortedBag<T> empty(Comparator<? super T> comparator)
-
of
<T> MutableSortedBag<T> of()
Same aswith().
-
with
<T> MutableSortedBag<T> with()
-
of
<T> MutableSortedBag<T> of(Comparator<? super T> comparator)
Same aswith(Comparator).
-
with
<T> MutableSortedBag<T> with(Comparator<? super T> comparator)
-
of
<T> MutableSortedBag<T> of(T... elements)
Same aswith(Object[]).
-
with
<T> MutableSortedBag<T> with(T... elements)
-
of
<T> MutableSortedBag<T> of(Comparator<? super T> comparator, T... elements)
Same aswith(Comparator, Object[]).
-
with
<T> MutableSortedBag<T> with(Comparator<? super T> comparator, T... elements)
-
ofAll
<T> MutableSortedBag<T> ofAll(Iterable<? extends T> items)
Same aswithAll(Comparator, Iterable).
-
withAll
<T> MutableSortedBag<T> withAll(Iterable<? extends T> items)
-
ofAll
<T> MutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
Same aswithAll(Comparator, Iterable)
-
withAll
<T> MutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
-
-