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 UnaryMinusOperator()
public String getOperatorSymbol()
getOperatorSymbol in class UnaryOperatorpublic Object apply(Object pValue) throws ELException
apply in class UnaryOperatorELExceptionCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.