public enum HjOperator extends Enum<HjOperator>
Enum Constant and Description |
---|
ANY
Represents the any operation
|
MAX
Represents the max operation
|
MIN
Represents the min operation
|
PROD
Represents a product operation
|
SUM
Represents a sum operation
|
Modifier and Type | Method and Description |
---|---|
static HjOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HjOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HjOperator SUM
public static final HjOperator PROD
public static final HjOperator MIN
public static final HjOperator MAX
public static final HjOperator ANY
public static HjOperator[] values()
for (HjOperator c : HjOperator.values()) System.out.println(c);
public static HjOperator 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 nullCopyright © 2015 Rice University - Department of Computer Science. All rights reserved.