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

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

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

feature type with list value.

Author:
zhongzhi
See Also:
Serialized Form

Field Summary
protected  java.lang.String m_Key
           
protected  java.lang.String m_Value
           
 
Constructor Summary
AListFeature()
           
 
Method Summary
abstract  java.lang.Object clone()
          clone this feature
 java.lang.String getKey()
          get feature key
 java.lang.String getValue()
          get feature value
 boolean setKey(java.lang.String p_Key)
          set feature key
 boolean setValue(java.lang.String p_Value)
          set feature value
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Key

protected java.lang.String m_Key

m_Value

protected java.lang.String m_Value
Constructor Detail

AListFeature

public AListFeature()
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

getValue

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

Specified by:
getValue in interface IFeature
Returns:
value

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

setValue

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

Specified by:
setValue in interface IFeature
Parameters:
p_Value - feature value
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