public enum ImmutableSortedSetFactoryImpl extends Enum<ImmutableSortedSetFactoryImpl> implements ImmutableSortedSetFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableSortedSet<T> |
empty() |
<T> ImmutableSortedSet<T> |
empty(Comparator<? super T> comparator) |
<T> ImmutableSortedSet<T> |
of() |
<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) |
static ImmutableSortedSetFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableSortedSetFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<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 static final ImmutableSortedSetFactoryImpl INSTANCE
public static ImmutableSortedSetFactoryImpl[] values()
for (ImmutableSortedSetFactoryImpl c : ImmutableSortedSetFactoryImpl.values()) System.out.println(c);
public static ImmutableSortedSetFactoryImpl 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> ImmutableSortedSet<T> empty()
empty in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> empty(Comparator<? super T> comparator)
empty in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of()
of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with()
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(T... items)
of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(T... items)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofAll(Iterable<? extends T> items)
ofAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withAll(Iterable<? extends T> items)
withAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(Comparator<? super T> comparator)
of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(Comparator<? super T> comparator, T... items)
of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator, T... items)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
ofAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
withAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofSortedSet(SortedSet<T> set)
ofSortedSet in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withSortedSet(SortedSet<T> set)
withSortedSet in interface ImmutableSortedSetFactoryCopyright © 2004–2017. All rights reserved.