|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.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 MathematicalElement
getComplexValue
in class RealImpl
MathematicalException
public java.lang.String toString()
toString
in class RealImpl
public int getType()
MathematicalElement
getType
in interface MathematicalElement
getType
in class RealImpl
public void setProperties(java.util.Properties properties)
MathematicalElement
setProperties
in interface MathematicalElement
setProperties
in class RealImpl
properties
- properties to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |