Package adql.query.operand.function
Enum MathFunctionType
- java.lang.Object
-
- java.lang.Enum<MathFunctionType>
-
- adql.query.operand.function.MathFunctionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MathFunctionType>
public enum MathFunctionType extends java.lang.Enum<MathFunctionType>
All types of managed mathematical functions.- Version:
- 03/2014
- Author:
- Grégory Mantelet (CDS,ARI)
- See Also:
MathFunction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
nbMaxParams()
int
nbMinParams()
static MathFunctionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MathFunctionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABS
public static final MathFunctionType ABS
-
CEILING
public static final MathFunctionType CEILING
-
DEGREES
public static final MathFunctionType DEGREES
-
EXP
public static final MathFunctionType EXP
-
FLOOR
public static final MathFunctionType FLOOR
-
LOG
public static final MathFunctionType LOG
-
LOG10
public static final MathFunctionType LOG10
-
MOD
public static final MathFunctionType MOD
-
PI
public static final MathFunctionType PI
-
POWER
public static final MathFunctionType POWER
-
RADIANS
public static final MathFunctionType RADIANS
-
SQRT
public static final MathFunctionType SQRT
-
RAND
public static final MathFunctionType RAND
-
ROUND
public static final MathFunctionType ROUND
-
TRUNCATE
public static final MathFunctionType TRUNCATE
-
ACOS
public static final MathFunctionType ACOS
-
ASIN
public static final MathFunctionType ASIN
-
ATAN
public static final MathFunctionType ATAN
-
ATAN2
public static final MathFunctionType ATAN2
-
COS
public static final MathFunctionType COS
-
COT
public static final MathFunctionType COT
-
SIN
public static final MathFunctionType SIN
-
TAN
public static final MathFunctionType TAN
-
-
Method Detail
-
values
public static MathFunctionType[] 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 (MathFunctionType c : MathFunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MathFunctionType 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
-
nbMinParams
public final int nbMinParams()
- Since:
- 1.2
-
nbMaxParams
public final int nbMaxParams()
- Since:
- 1.2
-
-