@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()
ImmutableSortedSetFactory
ImmutableSortedSetFactory.with()
.of
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> with()
with
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> of(T... items)
ImmutableSortedSetFactory
of
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> with(T... items)
with
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> ofAll(Iterable<? extends T> items)
ImmutableSortedSetFactory
ofAll
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> withAll(Iterable<? extends T> items)
withAll
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> of(Comparator<? super T> comparator)
ImmutableSortedSetFactory
of
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator)
with
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> of(Comparator<? super T> comparator, T... items)
ImmutableSortedSetFactory
of
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator, T... items)
with
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
ImmutableSortedSetFactory
ofAll
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
withAll
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> ofSortedSet(SortedSet<T> set)
ImmutableSortedSetFactory
ofSortedSet
in interface ImmutableSortedSetFactory
public <T> ImmutableSortedSet<T> withSortedSet(SortedSet<T> set)
withSortedSet
in interface ImmutableSortedSetFactory
Copyright © 2004–2017. All rights reserved.