|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.fzi.XPath.Expr | +--de.fzi.XPath.Number
Number class.
Fields inherited from class de.fzi.XPath.Expr |
ADD_OP, AND_OP, DIV_OP, EQ_OP, GT_OP, GTE_OP, LT_OP, LTE_OP, MOD_OP, MUL_OP, NEQ_OP, NOP_OP, OR_OP, SUB_OP, U_OP |
Constructor Summary | |
Number(double thevalue)
Intantiates a number with given value. |
|
Number(java.lang.String thevalue)
Intantiates a number with given string value. |
Method Summary | |
double |
getValue()
Returns number's value. |
java.lang.String |
toString()
Returns number as string. |
Methods inherited from class de.fzi.XPath.Expr |
getNegative, getOperator, getOperatorAsString, getOperatorName, getPositive, setOperator, setPositive |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Number(java.lang.String thevalue)
thevalue
- string value of the number. This value is converted to
double
.public Number(double thevalue)
thevalue
- string value of the number.Method Detail |
public double getValue()
public java.lang.String toString()
toString
in class Expr
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |