at.jku.ssw
Class LinkedListIterator

java.lang.Object
  extended by at.jku.ssw.Iterator
      extended by at.jku.ssw.LinkedListIterator

public class LinkedListIterator
extends Iterator

An iterator for traversing a linked list.


Method Summary
 boolean hasNext()
          Returns true if the iteration has more values.
 char next()
          Returns the next value in the iteration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Returns true if the iteration has more values.

Specified by:
hasNext in class Iterator

next

public char next()
Returns the next value in the iteration.

Specified by:
next in class Iterator