Package de.gsi.math
Enum DataSetMath.MathOp
- java.lang.Object
-
- java.lang.Enum<DataSetMath.MathOp>
-
- de.gsi.math.DataSetMath.MathOp
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataSetMath.MathOp>
- Enclosing class:
- DataSetMath
public static enum DataSetMath.MathOp extends java.lang.Enum<DataSetMath.MathOp>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSetMath.MathOpvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataSetMath.MathOp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final DataSetMath.MathOp ADD
-
SUBTRACT
public static final DataSetMath.MathOp SUBTRACT
-
MULTIPLY
public static final DataSetMath.MathOp MULTIPLY
-
DIVIDE
public static final DataSetMath.MathOp DIVIDE
-
SQR
public static final DataSetMath.MathOp SQR
-
SQRT
public static final DataSetMath.MathOp SQRT
-
LOG10
public static final DataSetMath.MathOp LOG10
-
DB
public static final DataSetMath.MathOp DB
-
INV_DB
public static final DataSetMath.MathOp INV_DB
-
-
Method Detail
-
values
public static DataSetMath.MathOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataSetMath.MathOp c : DataSetMath.MathOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSetMath.MathOp valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-