Interface IteratorItemStats<ITEM>

All Known Implementing Classes:
IteratorItemStatsImpl, IteratorViewElementBuilderContext

public interface IteratorItemStats<ITEM>
Author:
Arne Vandamme
  • Method Details

    • getIndex

      int getIndex()
      Returns:
      Index of the item in the collection.
    • hasPrevious

      boolean hasPrevious()
      Returns:
      True if there are previous items in the collection.
    • isFirst

      boolean isFirst()
      Returns:
      True if this item is the first one in the collection.
    • hasNext

      boolean hasNext()
      Returns:
      True if there are more items in the collection after this one.
    • isLast

      boolean isLast()
      Returns:
      True if this item is the last item in the collection.
    • getItem

      ITEM getItem()
      Returns:
      item itself