public static enum ConfigurationVariantStream.TypeVariance extends Enum<ConfigurationVariantStream.TypeVariance>
Enum Constant and Description |
---|
ANY
Allow any types to be inserted into the stream.
|
PREDEFINED
Allow only the predefined types to be inserted into the stream.
|
Modifier and Type | Method and Description |
---|---|
static ConfigurationVariantStream.TypeVariance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationVariantStream.TypeVariance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationVariantStream.TypeVariance PREDEFINED
public static final ConfigurationVariantStream.TypeVariance ANY
public static ConfigurationVariantStream.TypeVariance[] values()
for (ConfigurationVariantStream.TypeVariance c : ConfigurationVariantStream.TypeVariance.values()) System.out.println(c);
public static ConfigurationVariantStream.TypeVariance 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 null