Class NumberToken
java.lang.Object
ch.andre601.expressionparser.tokens.Token
ch.andre601.expressionparser.tokens.NumberToken
Token instance
representing a number (double).-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getValue()
Returns the double value stored within this instance.
-
Constructor Details
-
NumberToken
public NumberToken(double value) Constructor for creating a new NumberToken.- Parameters:
value
- double value to store in this NumberToken.
-
-
Method Details
-
getValue
public double getValue()Returns the double value stored within this instance.- Returns:
- The double value stored within this instance.
-