public static enum SNT.CostType extends Enum<SNT.CostType>
| Enum Constant and Description |
|---|
DIFFERENCE |
DIFFERENCE_SQUARED |
PROBABILITY |
RECIPROCAL |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
toString() |
static SNT.CostType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SNT.CostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SNT.CostType RECIPROCAL
public static final SNT.CostType DIFFERENCE
public static final SNT.CostType DIFFERENCE_SQUARED
public static final SNT.CostType PROBABILITY
public static SNT.CostType[] values()
for (SNT.CostType c : SNT.CostType.values()) System.out.println(c);
public static SNT.CostType 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 getDescription()
public String toString()
toString in class Enum<SNT.CostType>Copyright © 2015–2021 Fiji. All rights reserved.