marytts.unitselection.data
Class SyllableIterator

java.lang.Object
  extended by marytts.unitselection.data.SyllableIterator
All Implemented Interfaces:
java.util.Iterator<Syllable>

public class SyllableIterator
extends java.lang.Object
implements java.util.Iterator<Syllable>

Author:
marc

Constructor Summary
SyllableIterator(FeatureFileReader features, int fromUnitIndex, int toUnitIndex)
          Create a syllable iterator over the given feature file, starting from the given fromUnitIndex and reaching up to (and including) the given toUnitIndex
 
Method Summary
 boolean hasNext()
           
 Syllable next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyllableIterator

public SyllableIterator(FeatureFileReader features,
                        int fromUnitIndex,
                        int toUnitIndex)
Create a syllable iterator over the given feature file, starting from the given fromUnitIndex and reaching up to (and including) the given toUnitIndex

Parameters:
features -
fromUnitIndex -
toUnitIndex -
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Syllable>

next

public Syllable next()
Specified by:
next in interface java.util.Iterator<Syllable>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Syllable>