public class UnaryMinusOperator extends UnaryOperator
The implementation of the unary minus operator
| Modifier and Type | Field and Description |
|---|---|
static UnaryMinusOperator |
SINGLETON |
| Constructor and Description |
|---|
UnaryMinusOperator()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(Object pValue,
Object pContext,
Logger pLogger)
Applies the operator to the given value
|
String |
getOperatorSymbol()
Returns the symbol representing the operator
|
public static final UnaryMinusOperator SINGLETON
public String getOperatorSymbol()
getOperatorSymbol in class UnaryOperatorpublic Object apply(Object pValue, Object pContext, Logger pLogger) throws ELException
apply in class UnaryOperatorELExceptionCopyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.