|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.expression4j.basic.impl.RealImpl
public class RealImpl
| Field Summary | |
|---|---|
protected java.util.Properties |
properties
|
protected double |
realValue
|
| Fields inherited from interface fr.expression4j.basic.MathematicalElement |
|---|
COMPLEX_VALUE, REAL_VALUE |
| Constructor Summary | |
|---|---|
RealImpl(double value)
|
|
| Method Summary | |
|---|---|
double |
getComplexValue()
get the complex value of the number |
java.util.Properties |
getProperties()
Get ptoperties used to initialize element (to store it in xml property file). |
double |
getRealValue()
get the real value of the number |
int |
getType()
Return the unique identifier of an element type (1 for real, 2 for complex ...). |
java.lang.Object |
getValue()
get generic value of mathematical element. |
void |
setProperties(java.util.Properties properties)
Set properties for initialisation (when stored in xml property file) |
void |
setRealValue(double value)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double realValue
protected java.util.Properties properties
| Constructor Detail |
|---|
public RealImpl(double value)
| Method Detail |
|---|
public double getComplexValue()
throws MathematicalException
MathematicalElement
getComplexValue in interface MathematicalElementMathematicalExceptionpublic double getRealValue()
MathematicalElement
getRealValue in interface MathematicalElementpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getType()
MathematicalElement
getType in interface MathematicalElementpublic void setRealValue(double value)
public java.util.Properties getProperties()
MathematicalElement
getProperties in interface MathematicalElementpublic void setProperties(java.util.Properties properties)
MathematicalElement
setProperties in interface MathematicalElementproperties - properties to setpublic java.lang.Object getValue()
MathematicalElement
getValue in interface MathematicalElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||