Enum MathFunctions.Function
- java.lang.Object
-
- java.lang.Enum<MathFunctions.Function>
-
- com.yahoo.search.grouping.request.MathFunctions.Function
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MathFunctions.Function>
- Enclosing class:
- MathFunctions
public static enum MathFunctions.Function extends java.lang.Enum<MathFunctions.Function>
Defines the different types of math functions that are available.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MathFunctions.Function
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MathFunctions.Function[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXP
public static final MathFunctions.Function EXP
-
POW
public static final MathFunctions.Function POW
-
LOG
public static final MathFunctions.Function LOG
-
LOG1P
public static final MathFunctions.Function LOG1P
-
LOG10
public static final MathFunctions.Function LOG10
-
SIN
public static final MathFunctions.Function SIN
-
ASIN
public static final MathFunctions.Function ASIN
-
COS
public static final MathFunctions.Function COS
-
ACOS
public static final MathFunctions.Function ACOS
-
TAN
public static final MathFunctions.Function TAN
-
ATAN
public static final MathFunctions.Function ATAN
-
SQRT
public static final MathFunctions.Function SQRT
-
SINH
public static final MathFunctions.Function SINH
-
ASINH
public static final MathFunctions.Function ASINH
-
COSH
public static final MathFunctions.Function COSH
-
ACOSH
public static final MathFunctions.Function ACOSH
-
TANH
public static final MathFunctions.Function TANH
-
ATANH
public static final MathFunctions.Function ATANH
-
CBRT
public static final MathFunctions.Function CBRT
-
HYPOT
public static final MathFunctions.Function HYPOT
-
FLOOR
public static final MathFunctions.Function FLOOR
-
-
Method Detail
-
values
public static MathFunctions.Function[] 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 (MathFunctions.Function c : MathFunctions.Function.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MathFunctions.Function 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
-
-