Home Segments Top Top Previous Next

574: Mainline

To be sure that there is a next element, you test the iterator using hasNext:

i.hasNext()