public class ModulusOperator extends BinaryOperator
The implementation of the modulus operator
Modifier and Type | Field and Description |
---|---|
static ModulusOperator |
SINGLETON |
Constructor and Description |
---|
ModulusOperator()
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 ModulusOperator SINGLETON
public ModulusOperator()
public String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public Object apply(Object pLeft, Object pRight) throws ELException
apply
in class BinaryOperator
ELException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.