public static enum TimeSeriesOperations.CombineMethod extends Enum<TimeSeriesOperations.CombineMethod>
Enum Constant and Description |
---|
ABS_DIFF
Takes the absolute difference |ts1-ts2| between the two values.
|
AVERAGE
Takes the average of the two values.
|
CUSTOM
Uses a custom combine function that is provided by the user.
|
DIFF
Takes the difference (ts1-ts2) of the two values.
|
FIRST
Uses the value from ts1, the first series in the call.
|
MAX
Uses the maximum of the two values.
|
MIN
Uses the minimum of the two values.
|
SUM
Takes the sum of the two values.
|
Modifier and Type | Method and Description |
---|---|
static TimeSeriesOperations.CombineMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeSeriesOperations.CombineMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSeriesOperations.CombineMethod FIRST
public static final TimeSeriesOperations.CombineMethod AVERAGE
public static final TimeSeriesOperations.CombineMethod SUM
public static final TimeSeriesOperations.CombineMethod MIN
public static final TimeSeriesOperations.CombineMethod MAX
public static final TimeSeriesOperations.CombineMethod DIFF
public static final TimeSeriesOperations.CombineMethod ABS_DIFF
public static final TimeSeriesOperations.CombineMethod CUSTOM
public static TimeSeriesOperations.CombineMethod[] values()
for (TimeSeriesOperations.CombineMethod c : TimeSeriesOperations.CombineMethod.values()) System.out.println(c);
public static TimeSeriesOperations.CombineMethod 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 © 2020 Rogue Wave Software. All rights reserved.