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