Interface ImmutableSortedBagFactory
-
public interface ImmutableSortedBagFactoryA factory which creates instances of typeImmutableSortedBag.
-
-
Method Summary
-
-
-
Method Detail
-
empty
<T> ImmutableSortedBag<T> empty()
-
empty
<T> ImmutableSortedBag<T> empty(Comparator<? super T> comparator)
-
of
<T> ImmutableSortedBag<T> of()
Same asempty().
-
with
<T> ImmutableSortedBag<T> with()
Same asempty().
-
of
<T> ImmutableSortedBag<T> of(T... items)
Same aswith(Object[]).
-
with
<T> ImmutableSortedBag<T> with(T... items)
-
ofAll
<T> ImmutableSortedBag<T> ofAll(Iterable<? extends T> items)
Same aswithAll(Iterable).
-
withAll
<T> ImmutableSortedBag<T> withAll(Iterable<? extends T> items)
-
of
<T> ImmutableSortedBag<T> of(Comparator<? super T> comparator, T... items)
Same aswith(Comparator, Object[]).
-
with
<T> ImmutableSortedBag<T> with(Comparator<? super T> comparator, T... items)
-
of
<T> ImmutableSortedBag<T> of(Comparator<? super T> comparator)
Same aswith(Comparator).
-
with
<T> ImmutableSortedBag<T> with(Comparator<? super T> comparator)
-
ofAll
<T> ImmutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
Same aswithAll(Comparator, Iterable).
-
withAll
<T> ImmutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
-
ofSortedBag
<T> ImmutableSortedBag<T> ofSortedBag(SortedBag<T> bag)
Same aswithSortedBag(SortedBag).
-
withSortedBag
<T> ImmutableSortedBag<T> withSortedBag(SortedBag<T> bag)
-
-