package jp.gr.java_conf.dyama.rink.parser;

/**
 *  feature interface for parsing
 * @author Hiroyasu Yamada
 *
 */
public interface Feature {

    /**
     * encode a feature information into positive unique integer.
     * @return encoded integer
     */
    public int encode();

    /**
     * decode an integer to a feature information
     * @param code encoded integer. throw IllegalArgumentExcption if code is negative number.
     */
    public void decode(int code);

}

@@ -156,16 +156,19 @@
   * 
-e
+E
 ncode
- a
+s the
  fea
@@ -189,16 +189,20 @@
 on into 
+the 
 positive
@@ -233,16 +233,20 @@
 @return 
+the 
 encoded 
@@ -306,30 +306,31 @@
   * 
-d
+D
 ecode
- an integer
+s the code
  to 
-a
+the
  fea
@@ -369,30 +369,31 @@
 ode 
-encoded integer. 
+the code%0A     * @
 throw
+s
  Ill
@@ -420,16 +420,20 @@
  if 
+the 
 code is 
 nega
@@ -428,16 +428,18 @@
 code is 
+a 
 negative

revise API doc.