public static enum Constants.AnsModelType extends java.lang.Enum<Constants.AnsModelType>
| Enum Constant and Description |
|---|
LLAIANS
LLAIANS: low-latency AIANS algorithm.
|
STDAIANS
STDAIANS: standard-latency AIANS algorithm.
|
TRANS
TRANS: (Default) traditional ANS model.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.AnsModelType |
fromInt(int value)
Converts an integer value to its corresponding AnsModelType enum constant.
|
int |
getValue()
Gets the integer value of the AnsModelType.
|
static Constants.AnsModelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.AnsModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.AnsModelType TRANS
public static final Constants.AnsModelType LLAIANS
public static final Constants.AnsModelType STDAIANS
public static Constants.AnsModelType[] values()
for (Constants.AnsModelType c : Constants.AnsModelType.values()) System.out.println(c);
public static Constants.AnsModelType 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 Constants.AnsModelType fromInt(int value)
value - The integer value.