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