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