Serializable
, Comparable<EventHandler.Action>
Action
@Deprecated public static enum EventHandler.Action extends Enum<EventHandler.Action>
Enum Constant | Description |
---|---|
CONTINUE |
Deprecated.
Continue indicator.
|
RESET_DERIVATIVES |
Deprecated.
Reset derivatives indicator.
|
RESET_STATE |
Deprecated.
Reset state indicator.
|
STOP |
Deprecated.
Stop indicator.
|
Modifier and Type | Method | Description |
---|---|---|
static EventHandler.Action |
valueOf(String name) |
Deprecated.
Returns the enum constant of this type with the specified name.
|
static EventHandler.Action[] |
values() |
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventHandler.Action STOP
This value should be used as the return value of the eventOccurred
method when the integration should be
stopped after the event ending the current step.
public static final EventHandler.Action RESET_STATE
This value should be used as the return value of the eventOccurred
method when the integration should
go on after the event ending the current step, with a new state
vector (which will be retrieved thanks to the resetState
method).
public static final EventHandler.Action RESET_DERIVATIVES
This value should be used as the return value of the eventOccurred
method when the integration should
go on after the event ending the current step, with a new derivatives
vector (which will be retrieved thanks to the OrdinaryDifferentialEquation.computeDerivatives(double, double[])
method).
public static final EventHandler.Action CONTINUE
This value should be used as the return value of the eventOccurred
method when the integration should go
on after the event ending the current step.
public static EventHandler.Action[] values()
for (EventHandler.Action c : EventHandler.Action.values()) System.out.println(c);
public static EventHandler.Action 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 © 2016–2018 Hipparchus.org. All rights reserved.