Class OIDListIterator

java.lang.Object
com.sparsity.sparksee.gdb.OIDListIterator
All Implemented Interfaces:
Iterator<Long>

public class OIDListIterator extends Object implements Iterator<Long>
OIDList iterator class.

Iterator to traverse all the Sparksee object identifier into a OIDList instance.

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

    • nextOID

      public long nextOID()
      Gets the next element.

    • next

      public Long next()
      See nextOID().

      Specified by:
      next in interface Iterator<Long>
    • hasNext

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

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

      public void remove()
      Operation not supported.

      Specified by:
      remove in interface Iterator<Long>