|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yosokumo.core.Value com.yosokumo.core.RealValue
public class RealValue
Represents a floating-point value.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.yosokumo.core.Value |
---|
Value.Type |
Field Summary | |
---|---|
private double |
realValue
|
Constructor Summary | |
---|---|
RealValue(double value)
Initialize a newly created RealValue object with the
value specified by the input parameter. |
Method Summary | |
---|---|
Value.Type |
getType()
Return the real type. |
double |
getValue()
Return the real value stored in this object. |
java.lang.String |
toString()
Return the real value as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private double realValue
Constructor Detail |
---|
public RealValue(double value)
RealValue
object with the
value specified by the input parameter.
value
- is the real value.Method Detail |
---|
public Value.Type getType()
getType
in class Value
public double getValue()
public java.lang.String toString()
toString
in class Value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |