public class DivideOperator extends BinaryOperator
The implementation of the divide operator
| Modifier and Type | Field and Description |
|---|---|
static DivideOperator |
SINGLETON |
| Constructor and Description |
|---|
DivideOperator()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(Object pLeft,
Object pRight,
Object pContext,
Logger pLogger)
Applies the operator to the given value
|
String |
getOperatorSymbol()
Returns the symbol representing the operator
|
shouldCoerceToBoolean, shouldEvaluatepublic static final DivideOperator SINGLETON
public String getOperatorSymbol()
getOperatorSymbol in class BinaryOperatorpublic Object apply(Object pLeft, Object pRight, Object pContext, Logger pLogger) throws ELException
apply in class BinaryOperatorELExceptionCopyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.