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)
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) throws javax.servlet.jsp.el.ELException
apply
in class BinaryOperator
javax.servlet.jsp.el.ELException
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.