MutableSortedSetFactory
public class MutableSortedSetFactoryImpl extends Object implements MutableSortedSetFactory
Modifier and Type | Field | Description |
---|---|---|
static MutableSortedSetFactory |
INSTANCE |
Constructor | Description |
---|---|
MutableSortedSetFactoryImpl() |
Modifier and Type | Method | Description |
---|---|---|
<T> MutableSortedSet<T> |
empty() |
|
<T> MutableSortedSet<T> |
of() |
Same as
MutableSortedSetFactory.empty() . |
<T> MutableSortedSet<T> |
of(Comparator<? super T> comparator) |
|
<T> MutableSortedSet<T> |
of(Comparator<? super T> comparator,
T... items) |
|
<T> MutableSortedSet<T> |
of(T... items) |
|
<T> MutableSortedSet<T> |
ofAll(Iterable<? extends T> items) |
|
<T> MutableSortedSet<T> |
ofAll(Comparator<? super T> comparator,
Iterable<? extends T> items) |
|
<T> MutableSortedSet<T> |
with() |
Same as
MutableSortedSetFactory.empty() . |
<T> MutableSortedSet<T> |
with(Comparator<? super T> comparator) |
|
<T> MutableSortedSet<T> |
with(Comparator<? super T> comparator,
T... items) |
|
<T> MutableSortedSet<T> |
with(T... items) |
|
<T> MutableSortedSet<T> |
withAll(Iterable<? extends T> items) |
|
<T> MutableSortedSet<T> |
withAll(Comparator<? super T> comparator,
Iterable<? extends T> items) |
public static final MutableSortedSetFactory INSTANCE
public <T> MutableSortedSet<T> empty()
empty
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> of()
MutableSortedSetFactory
MutableSortedSetFactory.empty()
.of
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> with()
MutableSortedSetFactory
MutableSortedSetFactory.empty()
.with
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> of(T... items)
of
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> with(T... items)
with
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> ofAll(Iterable<? extends T> items)
ofAll
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> withAll(Iterable<? extends T> items)
withAll
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> of(Comparator<? super T> comparator)
of
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> with(Comparator<? super T> comparator)
with
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> of(Comparator<? super T> comparator, T... items)
of
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> with(Comparator<? super T> comparator, T... items)
with
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
ofAll
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
withAll
in interface MutableSortedSetFactory
Copyright © 2004–2019. All rights reserved.