|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.hcarralero.toljava.TOLLObject
com.hcarralero.toljava.TOLReal
public class TOLReal
Representa a un objeto TOL de tipo Real.
| Constructor Summary | |
|---|---|
TOLReal(double value)
Construye un objeto de tipo TOLReal a partir de un nḿero real |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compara a este objeto con otro |
double |
getValue()
Obtiene el valor numérico real almacenado |
int |
hashCode()
Calcula el código hash asignado al objeto |
boolean |
isReal()
Determina si el objeto corresponde al tipo Real de TOL |
void |
setValue(double value)
Cambia el valor numérico real almacenado por el valor pasado como parámetro |
java.lang.String |
toString()
Obtiene una representación como cadena de texto del valor numérico real |
| Methods inherited from class com.hcarralero.toljava.TOLLObject |
|---|
isCode, isComplex, isDate, isMatrix, isPolyn, isRatio, isReference, isSerie, isSet, isText, isTimeSet, isVMatrix |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TOLReal(double value)
TOLReal a partir de un nḿero real
value - el valor real que representa| Method Detail |
|---|
public double getValue()
public void setValue(double value)
value - nuevo valor numérico realpublic boolean isReal()
isReal in interface TOLObjectisReal in class TOLLObjecttrue ya que el objeto corresponde al tipo Real de TOLpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - el objeto con el que se comparará
true si el objeto pasado como parámetro es de tipo TOLReal y contiene un valor numérico real idénticopublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||