« Back to all Examples

Speech and Iterator

Frank Alexander Kraemer

NTNU - Department of Telematics

The example constructs a list of sentences and provides them to the iterator. Once started via init, the iterator pushes the first object (here a sentence as a java.lang.String) to the speech block. (For that, we do some casting within operation toString.) Once the speech block has finished a sentence, it tells the iterator to either provide the next sentence or to end.

Speech and Iterator
Import Example via SVN
Drop this link into the Arctis View