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,
Object pContext,
Logger pLogger)
Applies the operator to the given value
|
String |
getOperatorSymbol()
Returns the symbol representing the operator
|
shouldCoerceToBoolean, shouldEvaluate
public static final ModulusOperator 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.