Class RspReverseIterator

All Implemented Interfaces:
SafeCloseable, AutoCloseable

public class RspReverseIterator
extends Object
implements SafeCloseable
  • Constructor Details

  • Method Details

    • current

      public long current()
      current iterator value, without advancing it. A valid call to next() should have happened before calling this method.
    • hasNext

      public boolean hasNext()
      This method should be called: * After the iterator is created and before calling any other methods; if it returns false, calling any other methods results in undefined behavior. * Right after a call to next, similar to above.
      true if a call to next leads to a valid next iterator value.
    • next

      public void next()
    • advance

      public boolean advance​(long v)
    • release

      public void release()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface SafeCloseable