public static enum CircuitNodeChooser.WeightRule extends Enum<CircuitNodeChooser.WeightRule>
| Enum Constant and Description |
|---|
NO_WEIGHTING |
WEIGHT_FOR_DIR |
WEIGHT_FOR_EXIT |
WEIGHT_FOR_GUARD |
WEIGHT_FOR_MID |
| Modifier and Type | Method and Description |
|---|---|
static CircuitNodeChooser.WeightRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CircuitNodeChooser.WeightRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CircuitNodeChooser.WeightRule WEIGHT_FOR_DIR
public static final CircuitNodeChooser.WeightRule WEIGHT_FOR_EXIT
public static final CircuitNodeChooser.WeightRule WEIGHT_FOR_MID
public static final CircuitNodeChooser.WeightRule WEIGHT_FOR_GUARD
public static final CircuitNodeChooser.WeightRule NO_WEIGHTING
public static CircuitNodeChooser.WeightRule[] values()
for (CircuitNodeChooser.WeightRule c : CircuitNodeChooser.WeightRule.values()) System.out.println(c);
public static CircuitNodeChooser.WeightRule 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 nullCopyright © 2015. All rights reserved.