public class ImmutableSortedSetFactoryImpl extends Object implements ImmutableSortedSetFactory
| Modifier and Type | Field and Description |
|---|---|
static ImmutableSortedSetFactory |
INSTANCE |
| Constructor and Description |
|---|
ImmutableSortedSetFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableSortedSet<T> |
empty() |
<T> ImmutableSortedSet<T> |
empty(Comparator<? super T> comparator) |
<T> ImmutableSortedSet<T> |
of() |
<T> ImmutableSortedSet<T> |
of(Comparator<? super T> comparator) |
<T> ImmutableSortedSet<T> |
of(Comparator<? super T> comparator,
T... items) |
<T> ImmutableSortedSet<T> |
of(T... items) |
<T> ImmutableSortedSet<T> |
ofAll(Comparator<? super T> comparator,
Iterable<? extends T> items) |
<T> ImmutableSortedSet<T> |
ofAll(Iterable<? extends T> items) |
<T> ImmutableSortedSet<T> |
ofSortedSet(SortedSet<T> set) |
<T> ImmutableSortedSet<T> |
with() |
<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> |
withAll(Comparator<? super T> comparator,
Iterable<? extends T> iterable) |
<T> ImmutableSortedSet<T> |
withAll(Iterable<? extends T> items) |
<T> ImmutableSortedSet<T> |
withSortedSet(SortedSet<T> set) |
public static final ImmutableSortedSetFactory INSTANCE
public <T> ImmutableSortedSet<T> empty()
empty in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> empty(Comparator<? super T> comparator)
empty in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of()
of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with()
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(T... items)
of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(T... items)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofAll(Iterable<? extends T> items)
ofAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withAll(Iterable<? extends T> items)
withAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(Comparator<? super T> comparator)
of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(Comparator<? super T> comparator, T... items)
of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator, T... items)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
ofAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> iterable)
withAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofSortedSet(SortedSet<T> set)
ofSortedSet in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withSortedSet(SortedSet<T> set)
withSortedSet in interface ImmutableSortedSetFactoryCopyright © 2004–2022. All rights reserved.