com.sfm.ap210.jsdai.param
Class DoubleParamImpl
java.lang.Object
com.sfm.ap210.jsdai.param.DoubleParamImpl
- All Implemented Interfaces:
- DoubleParam, Param
public class DoubleParamImpl
- extends java.lang.Object
- implements DoubleParam
A minimal implementation of MeasureParam.
|
Field Summary |
protected java.lang.String |
name
|
protected double |
value
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected java.lang.String name
value
protected double value
DoubleParamImpl
public DoubleParamImpl(java.lang.String name,
double value)
getDoubleValue
public double getDoubleValue()
- Specified by:
getDoubleValue in interface DoubleParam
getValue
public java.lang.Double getValue()
- Specified by:
getValue in interface Param
getName
public java.lang.String getName()
- Specified by:
getName in interface Param
toString
public java.lang.String toString()
- Specified by:
toString in interface Param- Overrides:
toString in class java.lang.Object