public final class OperationFcts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NEGATION_FUNCTION_NAME
The name of the function used to perform negations
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Function> |
all() |
static FunctionName |
getFunctionNameFromOperator(char operator)
Returns the name of the function associated to the specified operator.
|
static char |
getOperator(FunctionName function)
Returns the operator associated to the specified function.
|
static boolean |
isNegation(FunctionName function)
Checks if the function with the specified name is a negation.
|
static boolean |
isOperation(FunctionName function)
Checks if the function with the specified name is an operation.
|
public static final java.lang.String NEGATION_FUNCTION_NAME
public static java.util.Collection<Function> all()
public static boolean isOperation(FunctionName function)
function
- the function nametrue
if the function is an operation, false
otherwise.public static boolean isNegation(FunctionName function)
function
- the function nametrue
if the function is an negation, false
otherwise.public static char getOperator(FunctionName function)
public static FunctionName getFunctionNameFromOperator(char operator)
operator
- the operatorCopyright © 2009- The Apache Software Foundation