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