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, shouldEvaluate
public static final DivideOperator SINGLETON
public String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public Object apply(Object pLeft, Object pRight, Object pContext, Logger pLogger) throws ELException
apply
in class BinaryOperator
ELException
Copyright © 2016 JBoss by Red Hat. All rights reserved.