Interface VersionIterator

All Superinterfaces:
Iterator, RangeIterator
All Known Implementing Classes:
VersionIteratorAdapter

public interface VersionIterator extends RangeIterator
Allows easy iteration through a list of Versions objects with nextVersion as well as a skip method inherited from RangeIterator.
  • Method Details

    • nextVersion

      Version nextVersion()
      Returns the next Version in the iteration.
      Returns:
      the next Version in the iteration.
      Throws:
      NoSuchElementException - if iteration has no more Versions.