public static enum GroupCalculator.GroupMethod extends java.lang.Enum<GroupCalculator.GroupMethod>
| Enum Constant and Description |
|---|
AVERAGE
calculate group value based on average (arithmetic mean)
|
MEDIAN
calculate group value based on median
|
| Modifier and Type | Method and Description |
|---|---|
static GroupCalculator.GroupMethod |
fromString(java.lang.String value) |
static GroupCalculator.GroupMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupCalculator.GroupMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupCalculator.GroupMethod AVERAGE
public static final GroupCalculator.GroupMethod MEDIAN
public static GroupCalculator.GroupMethod[] values()
for (GroupCalculator.GroupMethod c : GroupCalculator.GroupMethod.values()) System.out.println(c);
public static GroupCalculator.GroupMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static GroupCalculator.GroupMethod fromString(java.lang.String value) throws java.lang.IllegalArgumentException
value - java.lang.IllegalArgumentExceptionCopyright © 2015-2018 Tampere University of Technology, Pori Department.