Class TransactionMap.TMIterator<K,V,X>

java.lang.Object
org.h2.mvstore.tx.TransactionMap.TMIterator<K,V,X>
All Implemented Interfaces:
Iterator<X>
Enclosing class:
TransactionMap<K,V>

public abstract static class TransactionMap.TMIterator<K,V,X> extends Object implements Iterator<X>
  • Field Details

  • Method Details

    • fetchNext

      public abstract X fetchNext()
      Fetches a next entry. This method cannot be used together with hasNext() and next().
      Returns:
      the next entry or null
    • hasNext

      public final boolean hasNext()
      Specified by:
      hasNext in interface Iterator<K>
    • next

      public final X next()
      Specified by:
      next in interface Iterator<K>