public enum MutableSortedSetFactoryImpl extends Enum<MutableSortedSetFactoryImpl> implements MutableSortedSetFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableSortedSet<T> |
empty() |
<T> MutableSortedSet<T> |
of() |
<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(Comparator<? super T> comparator,
Iterable<? extends T> items) |
<T> MutableSortedSet<T> |
ofAll(Iterable<? extends T> items) |
static MutableSortedSetFactoryImpl |
valueOf(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() |
<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(Comparator<? super T> comparator,
Iterable<? extends T> items) |
<T> MutableSortedSet<T> |
withAll(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <T> MutableSortedSet<T> empty()
empty in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> of()
of in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> with()
with in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> of(T... items)
of in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> with(T... items)
with in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> ofAll(Iterable<? extends T> items)
ofAll in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> withAll(Iterable<? extends T> items)
withAll in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> of(Comparator<? super T> comparator)
of in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> with(Comparator<? super T> comparator)
with in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> of(Comparator<? super T> comparator, T... items)
of in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> with(Comparator<? super T> comparator, T... items)
with in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
ofAll in interface MutableSortedSetFactorypublic <T> MutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
withAll in interface MutableSortedSetFactoryCopyright © 2004–2017. All rights reserved.