Class OperatorNOT
java.lang.Object
com.igormaznitsa.jcp.expression.operators.AbstractOperator
com.igormaznitsa.jcp.expression.operators.OperatorNOT
- All Implemented Interfaces:
ExpressionItem
The class implements the NOT operator handler
-
Field Summary
Fields inherited from class com.igormaznitsa.jcp.expression.operators.AbstractOperator
ALL_OPERATORS, EXECUTION_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteBool(Value arg1) executeInt(Value arg1) intgetArity()Get the operator arityGet the priority of the itemGet the operator keywordGet the operator reference to be shown for a help information requestMethods inherited from class com.igormaznitsa.jcp.expression.operators.AbstractOperator
findForClass, getExpressionItemType, toString
-
Constructor Details
-
OperatorNOT
public OperatorNOT()
-
-
Method Details
-
getArity
public int getArity()Description copied from class:AbstractOperatorGet the operator arity- Specified by:
getArityin classAbstractOperator- Returns:
- the operator arity (1 or 2)
-
getReference
Description copied from class:AbstractOperatorGet the operator reference to be shown for a help information request- Specified by:
getReferencein classAbstractOperator- Returns:
- the operator reference as a String, must not be null
-
getKeyword
Description copied from class:AbstractOperatorGet the operator keyword- Specified by:
getKeywordin classAbstractOperator- Returns:
- the operator keyword, must not be null
-
executeInt
-
executeBool
-
getExpressionItemPriority
Description copied from interface:ExpressionItemGet the priority of the item- Returns:
- the item priority, must not be null
-