public enum AggregationPolicyextends Enum<AggregationPolicy>
Modifier and Type | Method and Description |
---|---|
String | toString() |
static AggregationPolicy | valueOf(String name) Returns the enum constant of this type with the specified name. |
static AggregationPolicy[] | values() Returns an array containing the constants of this enum type, inthe order they are declared. |
public static final AggregationPolicy AVG
public static final AggregationPolicy SUM
public static final AggregationPolicy MAX
public static AggregationPolicy[] values()
for (AggregationPolicy c : AggregationPolicy.values()) System.out.println(c);
public static AggregationPolicy 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 nullpublic String toString()
toString
in class Enum<AggregationPolicy>
Copyright © 2012-2015 Oracle. All Rights Reserved.