Enum EventHandler.Action
- All Implemented Interfaces:
Serializable
,Comparable<EventHandler.Action>
,java.lang.constant.Constable
- Enclosing interface:
- EventHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Continue indicator.Deprecated.Reset derivatives indicator.Deprecated.Reset state indicator.Deprecated.Stop indicator. -
Method Summary
Modifier and TypeMethodDescriptionstatic EventHandler.Action
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.
-
Enum Constant Details
-
STOP
Deprecated.Stop indicator.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. -
RESET_STATE
Deprecated.Reset state indicator.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 theresetState
method). -
RESET_DERIVATIVES
Deprecated.Reset derivatives indicator.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 theOrdinaryDifferentialEquation.computeDerivatives(double, double[])
method). -
CONTINUE
Deprecated.Continue indicator.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.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
Action