org.eclipse.xtext.generator.trace
Class LeafIterator

java.lang.Object
  extended by com.google.common.collect.UnmodifiableIterator<T>
      extended by com.google.common.collect.AbstractIterator<AbstractTraceRegion>
          extended by org.eclipse.xtext.generator.trace.LeafIterator
All Implemented Interfaces:
java.util.Iterator<AbstractTraceRegion>

@NonNullByDefault
public class LeafIterator
extends com.google.common.collect.AbstractIterator<AbstractTraceRegion>

Author:
Sebastian Zarnekow - Initial contribution and API
This class is not intended to be subclassed by clients.
This class is not intended to be subclassed by clients.
This class is not intended to be instantiated by clients.
This class is not intended to be instantiated by clients.

Constructor Summary
LeafIterator(AbstractTraceRegion root)
           
 
Method Summary
protected  AbstractTraceRegion computeNext()
           
protected  AbstractTraceRegion firstLeafOfCurrent()
           
 
Methods inherited from class com.google.common.collect.AbstractIterator
endOfData, hasNext, next, peek
 
Methods inherited from class com.google.common.collect.UnmodifiableIterator
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeafIterator

public LeafIterator(AbstractTraceRegion root)
Method Detail

computeNext

protected AbstractTraceRegion computeNext()
Specified by:
computeNext in class com.google.common.collect.AbstractIterator<AbstractTraceRegion>

firstLeafOfCurrent

protected AbstractTraceRegion firstLeafOfCurrent()