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