|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.telemetry.analyzer.language.ast.Constant
org.hackystat.telemetry.analyzer.language.ast.NumberConstant
public class NumberConstant
Number constant in telemetry language.
Constructor Summary | |
---|---|
NumberConstant(java.lang.Number value)
Constructs this instance with supplied number value. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object another)
Tests for equality of two instances. |
java.lang.Number |
getValue()
Gets the value of this number. |
java.lang.String |
getValueString()
Gets the string representation of this number. |
int |
hashCode()
Gets the hash code for this instance. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberConstant(java.lang.Number value)
value
- The number value.Method Detail |
---|
public java.lang.Number getValue()
public java.lang.String getValueString()
getValueString
in class Constant
public boolean equals(java.lang.Object another)
equals
in class java.lang.Object
another
- The other object to be tested with this object.
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |