public enum MatrixDimension extends Enum<MatrixDimension>
Enum Constant and Description |
---|
AGES
As many lines/rows as ages to be considered.
|
SINGLE
One line/row.
|
YEARS
As many lines/rows as years to be predicted.
|
Modifier and Type | Method and Description |
---|---|
int |
getDimension()
Defines current numeric equivalent of the dimension.
|
String |
getLabel()
Return name of the dimension.
|
static MatrixDimension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatrixDimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatrixDimension SINGLE
public static final MatrixDimension YEARS
public static final MatrixDimension AGES
public static MatrixDimension[] values()
for (MatrixDimension c : MatrixDimension.values()) System.out.println(c);
public static MatrixDimension 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 String getLabel()
public int getDimension()
Copyright © 2013. All Rights Reserved.