Interface VersionedPartitions.Iterator<T>

Type Parameters:
T - the type for this Iterator
All Superinterfaces:
Iterator<T>
All Known Subinterfaces:
VersionedPartitions.VersionedIterator
Enclosing interface:
VersionedPartitions

public static interface VersionedPartitions.Iterator<T> extends Iterator<T>
An Iterator for partitions being tracked by a VersionedPartitions implementation that allows retrieval of the next partition as a primitive.
  • Method Details

    • getPartition

      int getPartition()
      Return the current partition.
      Returns:
      the current partition
    • nextPartition

      int nextPartition()
      Return and progress this Iterator to the next partition.
      Returns:
      the next partition