public static enum CostConstraint.Type extends Enum<CostConstraint.Type>
| Enum Constant and Description |
|---|
COST
Signifies that cost is IGP cost.
|
TE_COST
Signifies that cost is TE cost.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
type()
Returns value of Cost type.
|
static CostConstraint.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CostConstraint.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CostConstraint.Type COST
public static final CostConstraint.Type TE_COST
public static CostConstraint.Type[] values()
for (CostConstraint.Type c : CostConstraint.Type.values()) System.out.println(c);
public static CostConstraint.Type 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 byte type()