public class IntegerDivideOperator extends BinaryOperator
The implementation of the integer divide operator
| Modifier and Type | Field and Description |
|---|---|
static IntegerDivideOperator |
SINGLETON |
| Constructor and Description |
|---|
IntegerDivideOperator()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(java.lang.Object pLeft,
java.lang.Object pRight,
java.lang.Object pContext,
Logger pLogger)
Applies the operator to the given value
|
java.lang.String |
getOperatorSymbol()
Returns the symbol representing the operator
|
shouldCoerceToBoolean, shouldEvaluatepublic static final IntegerDivideOperator SINGLETON
public java.lang.String getOperatorSymbol()
getOperatorSymbol in class BinaryOperatorpublic java.lang.Object apply(java.lang.Object pLeft,
java.lang.Object pRight,
java.lang.Object pContext,
Logger pLogger)
throws ELException
apply in class BinaryOperatorELExceptionCopyright (c) 1999-2012 Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.