public enum FixedSizeSetFactoryImpl extends Enum<FixedSizeSetFactoryImpl> implements FixedSizeSetFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T> FixedSizeSet<T> |
empty() |
<T> FixedSizeSet<T> |
of() |
<T> FixedSizeSet<T> |
of(T one) |
<T> FixedSizeSet<T> |
of(T one,
T two) |
<T> FixedSizeSet<T> |
of(T one,
T two,
T three) |
<T> FixedSizeSet<T> |
of(T one,
T two,
T three,
T four) |
<T> MutableSet<T> |
ofAll(Iterable<? extends T> items) |
static FixedSizeSetFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FixedSizeSetFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<T> FixedSizeSet<T> |
with() |
<T> FixedSizeSet<T> |
with(T one) |
<T> FixedSizeSet<T> |
with(T one,
T two) |
<T> FixedSizeSet<T> |
with(T one,
T two,
T three) |
<T> FixedSizeSet<T> |
with(T one,
T two,
T three,
T four) |
<T> MutableSet<T> |
withAll(Iterable<? extends T> items) |
public static final FixedSizeSetFactoryImpl INSTANCE
public static FixedSizeSetFactoryImpl[] values()
for (FixedSizeSetFactoryImpl c : FixedSizeSetFactoryImpl.values()) System.out.println(c);
public static FixedSizeSetFactoryImpl 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> FixedSizeSet<T> empty()
empty in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of()
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with()
with in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of(T one)
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with(T one)
with in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of(T one, T two)
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with(T one, T two)
with in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of(T one, T two, T three)
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with(T one, T two, T three)
with in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> of(T one, T two, T three, T four)
of in interface FixedSizeSetFactorypublic <T> FixedSizeSet<T> with(T one, T two, T three, T four)
with in interface FixedSizeSetFactorypublic <T> MutableSet<T> ofAll(Iterable<? extends T> items)
ofAll in interface FixedSizeSetFactorypublic <T> MutableSet<T> withAll(Iterable<? extends T> items)
withAll in interface FixedSizeSetFactoryCopyright © 2004–2017. All rights reserved.