com.sun.btrace.aggregation
Enum AggregationFunction
java.lang.Object
java.lang.Enum<AggregationFunction>
com.sun.btrace.aggregation.AggregationFunction
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AggregationFunction>
public enum AggregationFunction
- extends java.lang.Enum<AggregationFunction>
The type of aggregation functions.
- Author:
- Christian Glencross
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
COUNT
public static final AggregationFunction COUNT
SUM
public static final AggregationFunction SUM
MINIMUM
public static final AggregationFunction MINIMUM
MAXIMUM
public static final AggregationFunction MAXIMUM
AVERAGE
public static final AggregationFunction AVERAGE
QUANTIZE
public static final AggregationFunction QUANTIZE
values
public static AggregationFunction[] 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 (AggregationFunction c : AggregationFunction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AggregationFunction valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
newValue
public abstract AggregationValue newValue()