Package net.simplace.sim.util
Enum Class FWSimVariable.MODE_TYPE
- All Implemented Interfaces:
Serializable
,Comparable<FWSimVariable.MODE_TYPE>
,Constable
- Enclosing class:
- FWSimVariable<T>
Mode is used for Output Variables to define the way they are generalized
if Frequence is no daily step.
- Author:
- Andreas Enders
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAverage of all values ignoring null valuesAverage of all values ignoring null valuesFirst - first value takenIgnored - last value takenif true sets the value, false sets the defaultLast - last value takenMaximum of all valuesMinimum of all valuesif true sets the default value, else nothingif true sets the value, else nothingSum of all valuesVariance of all values ignoring null values -
Method Summary
Modifier and TypeMethodDescriptionstatic FWSimVariable.MODE_TYPE
Returns the enum constant of this class with the specified name.static FWSimVariable.MODE_TYPE[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUM
Sum of all values -
MAX
Maximum of all values -
MIN
Minimum of all values -
AVG
Average of all values ignoring null values -
COUNT
Average of all values ignoring null values -
VAR
Variance of all values ignoring null values -
IGNORE
Ignored - last value taken -
FIRST
First - first value taken -
LAST
Last - last value taken -
RESET
if true sets the default value, else nothing -
SET
if true sets the value, else nothing -
ITE
if true sets the value, false sets the default
-
-
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
-