Enum Constant and Description |
---|
Any |
OneDimension |
OneOrMoreDimensions |
Scalar |
ScalarOrOneDimension |
Modifier and Type | Method and Description |
---|---|
static ValueRank |
fromValue(int value) |
int |
getValue()
Returns the integer cod efor the ValueRank enum
|
static ValueRank |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueRank[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueRank OneDimension
public static final ValueRank OneOrMoreDimensions
public static final ValueRank Scalar
public static final ValueRank Any
public static final ValueRank ScalarOrOneDimension
public static ValueRank[] values()
for (ValueRank c : ValueRank.values()) System.out.println(c);
public static ValueRank 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 int getValue()
public static ValueRank fromValue(int value)