sg.edu.nus.comp.nlp.ims.feature
Class CDoubleFeature

java.lang.Object
  extended by sg.edu.nus.comp.nlp.ims.feature.ANumericFeature
      extended by sg.edu.nus.comp.nlp.ims.feature.CDoubleFeature
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IFeature

public class CDoubleFeature
extends ANumericFeature

feature with a double figure as value.

Author:
zhongzhi
See Also:
Serialized Form

Field Summary
protected  java.lang.Double m_Value
           
 
Fields inherited from class sg.edu.nus.comp.nlp.ims.feature.ANumericFeature
m_Key
 
Constructor Summary
CDoubleFeature()
           
 
Method Summary
 java.lang.Object clone()
          clone this feature
 java.lang.String getValue()
          get feature value
 boolean setValue(java.lang.String value)
          set feature value
 
Methods inherited from class sg.edu.nus.comp.nlp.ims.feature.ANumericFeature
getKey, setKey
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Value

protected java.lang.Double m_Value
Constructor Detail

CDoubleFeature

public CDoubleFeature()
Method Detail

clone

public java.lang.Object clone()
Description copied from interface: IFeature
clone this feature

Specified by:
clone in interface IFeature
Specified by:
clone in class ANumericFeature
Returns:
clone feature

getValue

public java.lang.String getValue()
Description copied from interface: IFeature
get feature value

Returns:
value

setValue

public boolean setValue(java.lang.String value)
Description copied from interface: IFeature
set feature value

Parameters:
value - feature value
Returns:
success or not