Package repast.simphony.data2
Enum AggregateOp
- java.lang.Object
-
- java.lang.Enum<AggregateOp>
-
- repast.simphony.data2.AggregateOp
-
- All Implemented Interfaces:
Serializable
,Comparable<AggregateOp>
public enum AggregateOp extends Enum<AggregateOp>
Enumeration of the different types of aggregation operations that can be done on a numeric data source.- Author:
- Nick Collier
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AggregateOp
valueOf(String name)
Returns the enum constant of this type with the specified name.static AggregateOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AggregateOp NONE
-
COUNT
public static final AggregateOp COUNT
-
GEO_MEAN
public static final AggregateOp GEO_MEAN
-
MAX
public static final AggregateOp MAX
-
MEAN
public static final AggregateOp MEAN
-
MIN
public static final AggregateOp MIN
-
SECOND_MOMENT
public static final AggregateOp SECOND_MOMENT
-
STD_DEV
public static final AggregateOp STD_DEV
-
SUM
public static final AggregateOp SUM
-
SUM_LOGS
public static final AggregateOp SUM_LOGS
-
SUM_SQRS
public static final AggregateOp SUM_SQRS
-
VARIANCE
public static final AggregateOp VARIANCE
-
-
Method Detail
-
values
public static AggregateOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AggregateOp c : AggregateOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregateOp valueOf(String name)
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
-
-