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