public enum ValueType extends Enum<ValueType>
Enum Constant and Description |
---|
STRING
Arbitrary strings.
|
SYMBOLIC
Symbols that stem from a discrete Alphabet.
|
VECTOR
Numeric vectors (or scalars as a special case).
|
Modifier and Type | Method and Description |
---|---|
Class<? extends KeywordSpecification> |
getSpecificationClass()
Returns the corresponding specification class for this ValueType.
|
Class<? extends Value> |
getValueClass()
The corresponding class of this ValueType.
|
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType SYMBOLIC
public static final ValueType VECTOR
public static final ValueType STRING
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 Class<? extends Value> getValueClass()
public Class<? extends KeywordSpecification> getSpecificationClass()
Copyright © 2014. All rights reserved.