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

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

public abstract class ANumericFeature
extends java.lang.Object
implements IFeature

feature type with numeral value.

Author:
zhongzhi
See Also:
Serialized Form

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

Field Detail

m_Key

protected java.lang.String m_Key
Constructor Detail

ANumericFeature

public ANumericFeature()
Method Detail

getKey

public java.lang.String getKey()
Description copied from interface: IFeature
get feature key

Specified by:
getKey in interface IFeature
Returns:
feature key

setKey

public boolean setKey(java.lang.String p_Key)
Description copied from interface: IFeature
set feature key

Specified by:
setKey in interface IFeature
Parameters:
p_Key - feature key
Returns:
success or not

clone

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

Specified by:
clone in interface IFeature
Overrides:
clone in class java.lang.Object
Returns:
clone feature