class Index extends UnaryMathVal
Modifier and Type | Method and Description |
---|---|
Class |
getType(Class c)
Return the type of this value based on the numeric type being operated
on.
|
protected Object |
operate(Object o,
Class c)
Return the result of this mathematical operation on the given value.
|
acceptVisit, eval, getType, setImplicitType
eval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaData
public Index(Val val)
public Class getType(Class c)
UnaryMathVal
getType
in class UnaryMathVal
protected Object operate(Object o, Class c)
UnaryMathVal
operate
in class UnaryMathVal
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.