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