|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MatrixDimension>
p3j.misc.MatrixDimension
public enum MatrixDimension
Enumeration for all kinds of matrix dimensions used in the PPPM. Created: August 17, 2008
Enum Constant Summary | |
---|---|
AGES
As many lines/rows as ages to be considered. |
|
SINGLE
One line/row. |
|
YEARS
As many lines/rows as years to be predicted. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MatrixDimension SINGLE
public static final MatrixDimension YEARS
public static final MatrixDimension AGES
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String getLabel()
public int getDimension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |