org.kuali.rice.krms.util
Class NaturalLanguageHelper.TreeIterator

java.lang.Object
  extended by org.kuali.rice.krms.util.NaturalLanguageHelper.TreeIterator
All Implemented Interfaces:
Serializable, Iterator<String>
Enclosing class:
NaturalLanguageHelper

protected class NaturalLanguageHelper.TreeIterator
extends Object
implements Serializable, Iterator<String>

Put the natural language descriptions in a queue and retrieve them in the same order as the propostion tree.

See Also:
Serialized Form

Constructor Summary
NaturalLanguageHelper.TreeIterator(NaturalLanguageTree tree)
           
 
Method Summary
 boolean hasNext()
           
 String next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NaturalLanguageHelper.TreeIterator

public NaturalLanguageHelper.TreeIterator(NaturalLanguageTree tree)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<String>

next

public String next()
Specified by:
next in interface Iterator<String>

remove

public void remove()
Specified by:
remove in interface Iterator<String>


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.