public enum TargetedSegmentListOperatorBehavior extends Enum<TargetedSegmentListOperatorBehavior> implements Enumeration
operators
in the TargetedSegmentList
. These options are mainly for operators that
compute iteratively, such as the
TargetedSegmentListDifferentialCorrector
.Enum Constant and Description |
---|
RUN_ACTIVE_OPERATORS
This will run all of the
operators
normally. |
RUN_ACTIVE_OPERATORS_ONCE
This will run each
operators once,
only allowing them to run a single iteration. |
RUN_NOMINAL_SEQUENCE
This will run all of the
operators
once with whatever values it is set with. |
Modifier and Type | Method and Description |
---|---|
static TargetedSegmentListOperatorBehavior |
getDefault()
Get the enum constant that is considered to be the default.
|
static TargetedSegmentListOperatorBehavior |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static TargetedSegmentListOperatorBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetedSegmentListOperatorBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetedSegmentListOperatorBehavior RUN_ACTIVE_OPERATORS
public static final TargetedSegmentListOperatorBehavior RUN_ACTIVE_OPERATORS_ONCE
public static final TargetedSegmentListOperatorBehavior RUN_NOMINAL_SEQUENCE
public static TargetedSegmentListOperatorBehavior[] values()
for (TargetedSegmentListOperatorBehavior c : TargetedSegmentListOperatorBehavior.values()) System.out.println(c);
public static TargetedSegmentListOperatorBehavior 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 int getValue()
getValue
in interface Enumeration
@Nonnull public static TargetedSegmentListOperatorBehavior getFromValue(int value)
value
- a numeric value.@Nonnull public static TargetedSegmentListOperatorBehavior getDefault()