Interface ImmutableSortedBagFactory
-
- All Known Implementing Classes:
ImmutableSortedBagFactoryImpl
public interface ImmutableSortedBagFactoryA factory which creates instances of typeImmutableSortedBag.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ImmutableSortedBag<T>empty()<T> ImmutableSortedBag<T>empty(java.util.Comparator<? super T> comparator)<T> ImmutableSortedBag<T>of()Same asempty().<T> ImmutableSortedBag<T>of(java.util.Comparator<? super T> comparator)Same aswith(Comparator).<T> ImmutableSortedBag<T>of(java.util.Comparator<? super T> comparator, T... items)Same aswith(Comparator, Object[]).<T> ImmutableSortedBag<T>of(T... items)Same aswith(Object[]).<T> ImmutableSortedBag<T>ofAll(java.lang.Iterable<? extends T> items)Same aswithAll(Iterable).<T> ImmutableSortedBag<T>ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)Same aswithAll(Comparator, Iterable).<T> ImmutableSortedBag<T>ofSortedBag(SortedBag<T> bag)Same aswithSortedBag(SortedBag).<T> ImmutableSortedBag<T>with()Same asempty().<T> ImmutableSortedBag<T>with(java.util.Comparator<? super T> comparator)<T> ImmutableSortedBag<T>with(java.util.Comparator<? super T> comparator, T... items)<T> ImmutableSortedBag<T>with(T... items)<T> ImmutableSortedBag<T>withAll(java.lang.Iterable<? extends T> items)<T> ImmutableSortedBag<T>withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)<T> ImmutableSortedBag<T>withSortedBag(SortedBag<T> bag)
-
-
-
Method Detail
-
empty
<T> ImmutableSortedBag<T> empty()
-
empty
<T> ImmutableSortedBag<T> empty(java.util.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(java.lang.Iterable<? extends T> items)
Same aswithAll(Iterable).
-
withAll
<T> ImmutableSortedBag<T> withAll(java.lang.Iterable<? extends T> items)
-
of
<T> ImmutableSortedBag<T> of(java.util.Comparator<? super T> comparator, T... items)
Same aswith(Comparator, Object[]).
-
with
<T> ImmutableSortedBag<T> with(java.util.Comparator<? super T> comparator, T... items)
-
of
<T> ImmutableSortedBag<T> of(java.util.Comparator<? super T> comparator)
Same aswith(Comparator).
-
with
<T> ImmutableSortedBag<T> with(java.util.Comparator<? super T> comparator)
-
ofAll
<T> ImmutableSortedBag<T> ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
Same aswithAll(Comparator, Iterable).
-
withAll
<T> ImmutableSortedBag<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
-
ofSortedBag
<T> ImmutableSortedBag<T> ofSortedBag(SortedBag<T> bag)
Same aswithSortedBag(SortedBag).
-
withSortedBag
<T> ImmutableSortedBag<T> withSortedBag(SortedBag<T> bag)
-
-