Class AddressKeyIterator

  • All Implemented Interfaces:
    DBLongIterator

    public class AddressKeyIterator
    extends java.lang.Object
    implements DBLongIterator
    Iterator of primary keys that are addresses. The longs returned are the address longs.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      ChangeModifier and Type Method Description
      boolean delete()
      Delete the last record(s) associated with the last value read via the next or previous methods.
      boolean hasNext()
      Return true if a value is available in the forward direction.
      boolean hasPrevious()
      Return true if a value is available in the reverse direction
      long next()
      Return the next long value.
      long previous()
      Return the previous long value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

  • Method Detail

    • hasNext

      public boolean hasNext()
                      throws java.io.IOException
      Description copied from interface: DBLongIterator
      Return true if a value is available in the forward direction.
      Specified by:
      hasNext in interface DBLongIterator
      Throws:
      java.io.IOException - thrown if an IO error occurs
      See Also:
      DBLongIterator.hasNext()
    • hasPrevious

      public boolean hasPrevious()
                          throws java.io.IOException
      Description copied from interface: DBLongIterator
      Return true if a value is available in the reverse direction
      Specified by:
      hasPrevious in interface DBLongIterator
      Throws:
      java.io.IOException - thrown if an IO error occurs
      See Also:
      DBLongIterator.hasPrevious()
    • next

      public long next()
                throws java.io.IOException
      Description copied from interface: DBLongIterator
      Return the next long value.
      Specified by:
      next in interface DBLongIterator
      Throws:
      java.io.IOException - thrown if an IO error occurs
      See Also:
      DBLongIterator.next()
    • delete

      public boolean delete()
                     throws java.io.IOException
      Description copied from interface: DBLongIterator
      Delete the last record(s) associated with the last value read via the next or previous methods.
      Specified by:
      delete in interface DBLongIterator
      Returns:
      true if record(s) was successfully deleted.
      Throws:
      java.io.IOException - thrown if an IO error occurs.
      See Also:
      DBLongIterator.delete()