net.sf.dynamicreports.report.constant
Enum Calculation
java.lang.Object
java.lang.Enum<Calculation>
net.sf.dynamicreports.report.constant.Calculation
- All Implemented Interfaces:
- Serializable, Comparable<Calculation>
public enum Calculation
- extends Enum<Calculation>
- Author:
- Ricardo Mariaca (r.mariaca@dynamicreports.org)
Method Summary |
static Calculation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Calculation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NOTHING
public static final Calculation NOTHING
COUNT
public static final Calculation COUNT
SUM
public static final Calculation SUM
AVERAGE
public static final Calculation AVERAGE
LOWEST
public static final Calculation LOWEST
HIGHEST
public static final Calculation HIGHEST
STANDARD_DEVIATION
public static final Calculation STANDARD_DEVIATION
VARIANCE
public static final Calculation VARIANCE
FIRST
public static final Calculation FIRST
DISTINCT_COUNT
public static final Calculation DISTINCT_COUNT
values
public static Calculation[] 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 (Calculation c : Calculation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Calculation 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 name
NullPointerException
- if the argument is null
Copyright © 2010-2014. All Rights Reserved.