ImmutableSortedSetFactorypublic enum ImmutableSortedSetFactoryImpl extends java.lang.Enum<ImmutableSortedSetFactoryImpl> implements ImmutableSortedSetFactory
| Enum Constant | Description |
|---|---|
INSTANCE |
| 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) |
|
static ImmutableSortedSetFactoryImpl |
valueOf(java.lang.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() |
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 ImmutableSortedSetFactoryImpl INSTANCE
public static ImmutableSortedSetFactoryImpl[] values()
for (ImmutableSortedSetFactoryImpl c : ImmutableSortedSetFactoryImpl.values()) System.out.println(c);
public static ImmutableSortedSetFactoryImpl 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> ImmutableSortedSet<T> empty()
empty in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> empty(java.util.Comparator<? super T> comparator)
empty in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of()
ImmutableSortedSetFactoryImmutableSortedSetFactory.empty().of in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with()
ImmutableSortedSetFactoryImmutableSortedSetFactory.empty().with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(T... items)
ImmutableSortedSetFactoryof in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(T... items)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofAll(java.lang.Iterable<? extends T> items)
ImmutableSortedSetFactoryofAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withAll(java.lang.Iterable<? extends T> items)
withAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(java.util.Comparator<? super T> comparator)
ImmutableSortedSetFactoryof in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(java.util.Comparator<? super T> comparator)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> of(java.util.Comparator<? super T> comparator, T... items)
ImmutableSortedSetFactoryof in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> with(java.util.Comparator<? super T> comparator, T... items)
with in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
ImmutableSortedSetFactoryofAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
withAll in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> ofSortedSet(java.util.SortedSet<T> set)
ImmutableSortedSetFactoryofSortedSet in interface ImmutableSortedSetFactorypublic <T> ImmutableSortedSet<T> withSortedSet(java.util.SortedSet<T> set)
withSortedSet in interface ImmutableSortedSetFactoryCopyright © 2004–2017. All rights reserved.