com.sparsity.sparksee.gdb
Class StringListIterator

java.lang.Object
  extended by com.sparsity.sparksee.gdb.StringListIterator
All Implemented Interfaces:
java.util.Iterator<java.lang.String>

public class StringListIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.String>

StringList iterator class.

Iterator to traverse all the strings into a StringList instance.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Method Summary
 boolean hasNext()
          Gets if there are more elements.
 java.lang.String next()
          See nextString().
 java.lang.String nextString()
          Gets the next element.
 void remove()
          Operation not supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Gets if there are more elements.

Specified by:
hasNext in interface java.util.Iterator<java.lang.String>
Returns:
TRUE if there are more elements, FALSE otherwise.

remove

public void remove()
Operation not supported.

Specified by:
remove in interface java.util.Iterator<java.lang.String>

next

public java.lang.String next()
See nextString().

Specified by:
next in interface java.util.Iterator<java.lang.String>

nextString

public java.lang.String nextString()
Gets the next element.