Interface ImmutableSortedSetFactory
- All Known Implementing Classes:
ImmutableSortedSetFactoryImpl
public interface ImmutableSortedSetFactory
-
Method Summary
Modifier and TypeMethodDescription<T> ImmutableSortedSet<T>empty()<T> ImmutableSortedSet<T>empty(Comparator<? super T> comparator) <T> ImmutableSortedSet<T>of()Same asempty().<T> ImmutableSortedSet<T>of(Comparator<? super T> comparator) Same aswith(Comparator).<T> ImmutableSortedSet<T>of(Comparator<? super T> comparator, T... items) Same aswith(Comparator, Object[]).<T> ImmutableSortedSet<T>of(T... items) Same aswith(Object[]).<T> ImmutableSortedSet<T>Same aswithAll(Iterable).<T> ImmutableSortedSet<T>ofAll(Comparator<? super T> comparator, Iterable<? extends T> items) Same aswithAll(Comparator, Iterable).<T> ImmutableSortedSet<T>ofSortedSet(SortedSet<T> set) Same aswithSortedSet(SortedSet).<T> ImmutableSortedSet<T>with()Same asempty().<T> ImmutableSortedSet<T>with(Comparator<? super T> comparator) <T> ImmutableSortedSet<T>with(Comparator<? super T> comparator, T... items) <T> ImmutableSortedSet<T>with(T... items) <T> ImmutableSortedSet<T><T> ImmutableSortedSet<T>withAll(Comparator<? super T> comparator, Iterable<? extends T> items) <T> ImmutableSortedSet<T>withSortedSet(SortedSet<T> set)
-
Method Details
-
empty
- Since:
- 6.0
-
empty
- Since:
- 7.0
-
of
Same asempty(). -
with
Same asempty(). -
of
Same aswith(Object[]). -
with
-
ofAll
Same aswithAll(Iterable). -
withAll
-
of
Same aswith(Comparator). -
with
-
of
Same aswith(Comparator, Object[]). -
with
-
ofAll
Same aswithAll(Comparator, Iterable). -
withAll
-
ofSortedSet
Same aswithSortedSet(SortedSet). -
withSortedSet
-