Package com.imsl.stat
Enum Class TimeSeriesOperations.MergeRule
- All Implemented Interfaces:
Serializable,Comparable<TimeSeriesOperations.MergeRule>,java.lang.constant.Constable
- Enclosing class:
- TimeSeriesOperations
Public enum of merge rules that defines how two time series should be
merged.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe merge operation includes time points and values only at the matching time points and applies the CombineMethod to the values at the matching time points.The merge operation includes all time points and values from each time series and applies the CombineMethod to the values at the matching time points.The merge operation includes all time points but applies the CombineMethod only to values at matching time points, indicating a missing valueDouble.NaNfor time points that are not in the intersection. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TimeSeriesOperations.MergeRule[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNION
The merge operation includes all time points and values from each time series and applies the CombineMethod to the values at the matching time points. -
INTERSECTION
The merge operation includes time points and values only at the matching time points and applies the CombineMethod to the values at the matching time points. -
UNION_MISSING
The merge operation includes all time points but applies the CombineMethod only to values at matching time points, indicating a missing valueDouble.NaNfor time points that are not in the intersection.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-