Class OperatorAND
- java.lang.Object
-
- com.igormaznitsa.jcp.expression.operators.AbstractOperator
-
- com.igormaznitsa.jcp.expression.operators.OperatorAND
-
- All Implemented Interfaces:
ExpressionItem
public final class OperatorAND extends AbstractOperator
The class implements the AND operator handler
-
-
Field Summary
-
Fields inherited from class com.igormaznitsa.jcp.expression.operators.AbstractOperator
ALL_OPERATORS, EXECUTION_PREFIX
-
-
Constructor Summary
Constructors Constructor Description OperatorAND()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueexecuteBoolBool(Value arg1, Value arg2)ValueexecuteIntInt(Value arg1, Value arg2)intgetArity()Get the operator arityExpressionItemPrioritygetExpressionItemPriority()Get the priority of the itemjava.lang.StringgetKeyword()Get the operator keywordjava.lang.StringgetReference()Get the operator reference to be shown for a help information request-
Methods inherited from class com.igormaznitsa.jcp.expression.operators.AbstractOperator
findForClass, getExpressionItemType, toString
-
-
-
-
Method Detail
-
getArity
public int getArity()
Description copied from class:AbstractOperatorGet the operator arity- Specified by:
getArityin classAbstractOperator- Returns:
- the operator arity (1 or 2)
-
getReference
public java.lang.String 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
public java.lang.String getKeyword()
Description copied from class:AbstractOperatorGet the operator keyword- Specified by:
getKeywordin classAbstractOperator- Returns:
- the operator keyword, must not be null
-
getExpressionItemPriority
public ExpressionItemPriority getExpressionItemPriority()
Description copied from interface:ExpressionItemGet the priority of the item- Returns:
- the item priority, must not be null
-
-