MutableSortedSetFactory
public enum MutableSortedSetFactoryImpl extends java.lang.Enum<MutableSortedSetFactoryImpl> implements MutableSortedSetFactory
Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
<T> MutableSortedSet<T> |
empty() |
|
<T> MutableSortedSet<T> |
of() |
Same as
MutableSortedSetFactory.empty() . |
<T> MutableSortedSet<T> |
of(java.util.Comparator<? super T> comparator) |
|
<T> MutableSortedSet<T> |
of(java.util.Comparator<? super T> comparator,
T... items) |
|
<T> MutableSortedSet<T> |
of(T... items) |
|
<T> MutableSortedSet<T> |
ofAll(java.lang.Iterable<? extends T> items) |
|
<T> MutableSortedSet<T> |
ofAll(java.util.Comparator<? super T> comparator,
java.lang.Iterable<? extends T> items) |
|
static MutableSortedSetFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableSortedSetFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<T> MutableSortedSet<T> |
with() |
Same as
MutableSortedSetFactory.empty() . |
<T> MutableSortedSet<T> |
with(java.util.Comparator<? super T> comparator) |
|
<T> MutableSortedSet<T> |
with(java.util.Comparator<? super T> comparator,
T... items) |
|
<T> MutableSortedSet<T> |
with(T... items) |
|
<T> MutableSortedSet<T> |
withAll(java.lang.Iterable<? extends T> items) |
|
<T> MutableSortedSet<T> |
withAll(java.util.Comparator<? super T> comparator,
java.lang.Iterable<? extends T> items) |
public static final MutableSortedSetFactoryImpl INSTANCE
public static MutableSortedSetFactoryImpl[] values()
for (MutableSortedSetFactoryImpl c : MutableSortedSetFactoryImpl.values()) System.out.println(c);
public static MutableSortedSetFactoryImpl valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic <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(java.lang.Iterable<? extends T> items)
ofAll
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> withAll(java.lang.Iterable<? extends T> items)
withAll
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> of(java.util.Comparator<? super T> comparator)
of
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> with(java.util.Comparator<? super T> comparator)
with
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> of(java.util.Comparator<? super T> comparator, T... items)
of
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> with(java.util.Comparator<? super T> comparator, T... items)
with
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
ofAll
in interface MutableSortedSetFactory
public <T> MutableSortedSet<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
withAll
in interface MutableSortedSetFactory
Copyright © 2004–2017. All rights reserved.