public enum Operator extends java.lang.Enum<Operator>
Tables.
 
 If both arguments are number/null
 these mostly map onto the operations in NumberOp. The exception is the DIV
 DIV operator that promotes to double rather than preserving the behaviour of integer types.
  
 
 MIN and MAX
 will use the Comparable interface if possible. Otherwise if the first
 argument is not null it will be returned, otherwise the second.| Enum Constant and Description | 
|---|
| ADD | 
| AVG | 
| DIV | 
| MAX | 
| MEDIAN | 
| MERGE | 
| MIN | 
| MUL | 
| SUB | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract java.lang.Object | operate(java.lang.Object a,
       java.lang.Object b) | 
| static Operator | valueOf(java.lang.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 ADD
public static final Operator SUB
public static final Operator MUL
public static final Operator DIV
public static final Operator MIN
public static final Operator MAX
public static final Operator AVG
public static final Operator MEDIAN
public static final Operator MERGE
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator 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 abstract java.lang.Object operate(java.lang.Object a,
                                         java.lang.Object b)