|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.expression4j.sample.custom.operator.BooleanMathematicalElement
public class BooleanMathematicalElement
define a mathematical element who contens a boolean element.
Field Summary | |
---|---|
static java.lang.String |
BOOLEAN_VALUE
|
Fields inherited from interface fr.expression4j.basic.MathematicalElement |
---|
COMPLEX_VALUE, REAL_VALUE |
Constructor Summary | |
---|---|
BooleanMathematicalElement(boolean 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) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BOOLEAN_VALUE
Constructor Detail |
---|
public BooleanMathematicalElement(boolean value)
Method Detail |
---|
public double getComplexValue() throws MathematicalException
MathematicalElement
getComplexValue
in interface MathematicalElement
MathematicalException
public java.util.Properties getProperties()
MathematicalElement
getProperties
in interface MathematicalElement
public double getRealValue()
MathematicalElement
getRealValue
in interface MathematicalElement
public int getType()
MathematicalElement
getType
in interface MathematicalElement
public java.lang.Object getValue()
MathematicalElement
getValue
in interface MathematicalElement
public void setProperties(java.util.Properties properties)
MathematicalElement
setProperties
in interface MathematicalElement
properties
- properties to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |