Class StringListIterator

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

public class StringListIterator extends Object implements Iterator<String>
StringList iterator class.

Iterator to traverse all the strings into a StringList instance.

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

    • next

      public String next()
      See nextString().

      Specified by:
      next in interface Iterator<String>
    • nextString

      public String nextString()
      Gets the next element.

    • hasNext

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

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

      public void remove()
      Operation not supported.

      Specified by:
      remove in interface Iterator<String>