/*
 * Created on 07.08.2004
 */
package commons.collections.trie;


/**
 * @author kst
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public interface ITrieReader
{

   /**
    * Callback method for reading a trie. Any ITrie must be enabled to register
    * a ITrieReader. The ITrieReader Implementation of this method consumes a
    * char. Return true to continue reading. Return false when the trie shall
    * stop traversing itself.
    */
   public boolean nextSign (char sign, int depth);


   public boolean lastSign (char sign, int depth);
   
   //tranducer only
   public boolean lastSign (char sign, String output, int depth);
}