public enum ResultOption extends java.lang.Enum<ResultOption>
Enum Constant and Description |
---|
AVERAGE
Compute the average on all operations.
|
HIGHEST
Compute the highest value among all operations.
|
SUM
Compute the sum on all operations.
|
Modifier and Type | Method and Description |
---|---|
static ResultOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultOption SUM
public static final ResultOption AVERAGE
public static final ResultOption HIGHEST
public static ResultOption[] values()
for (ResultOption c : ResultOption.values()) System.out.println(c);
public static ResultOption 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 nullCopyright © 2002–2017 PMD. All rights reserved.