Package org.lemsml.jlems.core.expression
Class ExprDimensional
- java.lang.Object
-
- org.lemsml.jlems.core.expression.ExprDimensional
-
- All Implemented Interfaces:
Dimensional
public class ExprDimensional extends java.lang.Object implements Dimensional
-
-
Constructor Summary
Constructors Constructor Description ExprDimensional()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimensional
getDivideBy(Dimensional d)
double
getDoubleValue()
int
getI()
int
getJ()
int
getK()
int
getL()
int
getM()
int
getN()
int
getT()
Dimensional
getTimes(Dimensional d)
boolean
isAny()
boolean
isDimensionless()
boolean
matches(Dimensional d)
Dimensional
power(double dbl)
void
setDoubleValue(double dval)
void
setT(int j)
void
setZero()
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getDivideBy
public Dimensional getDivideBy(Dimensional d)
- Specified by:
getDivideBy
in interfaceDimensional
-
getI
public int getI()
- Specified by:
getI
in interfaceDimensional
-
getL
public int getL()
- Specified by:
getL
in interfaceDimensional
-
getM
public int getM()
- Specified by:
getM
in interfaceDimensional
-
getT
public int getT()
- Specified by:
getT
in interfaceDimensional
-
getK
public int getK()
- Specified by:
getK
in interfaceDimensional
-
getN
public int getN()
- Specified by:
getN
in interfaceDimensional
-
getJ
public int getJ()
- Specified by:
getJ
in interfaceDimensional
-
getTimes
public Dimensional getTimes(Dimensional d)
- Specified by:
getTimes
in interfaceDimensional
-
isDimensionless
public boolean isDimensionless()
- Specified by:
isDimensionless
in interfaceDimensional
-
matches
public boolean matches(Dimensional d)
- Specified by:
matches
in interfaceDimensional
-
power
public Dimensional power(double dbl)
- Specified by:
power
in interfaceDimensional
-
setZero
public void setZero()
-
isAny
public boolean isAny()
- Specified by:
isAny
in interfaceDimensional
-
setDoubleValue
public void setDoubleValue(double dval)
-
getDoubleValue
public double getDoubleValue()
- Specified by:
getDoubleValue
in interfaceDimensional
-
setT
public void setT(int j)
-
-