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