|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is implemented by classes which have a type, i.e. their numerical value is not necessarily what it appears to be.
| Method Summary | |
void |
cast(ValueType type)
MUTATING METHOD! This method sets the type of the object to be type. |
void |
convert(ValueType type)
MUTATING METHOD! This method sets the type of the object to be type. |
double |
getRealValue()
This method is used to get the the true value of this. |
ValueType |
getType()
Method to get the type of this object. |
ValueType |
getTypeClass()
Method to get the type class of this object. |
boolean |
isReal()
Method to determine if this is real-typed. |
void |
setType(ValueType type)
Method to set the type of this object. |
void |
updateRealEstimate()
MUTATING METHOD! This method does not affect the critical values of this object. |
| Method Detail |
public void setType(ValueType type)
type - the new type for this.public ValueType getType()
public ValueType getTypeClass()
public boolean isReal()
public void cast(ValueType type)
type - the new type.public void convert(ValueType type)
type - the new type.public double getRealValue()
public void updateRealEstimate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||