Interface BigListIterator<K>

    • Method Detail

      • nextIndex

        long nextIndex()
        Returns the index of the element that would be returned by a subsequent call to next. (Returns list size if the list iterator is at the end of the list.)
        Returns:
        the index of the element that would be returned by a subsequent call to next, or list size if list iterator is at end of list.
        See Also:
        ListIterator.nextIndex()
      • previousIndex

        long previousIndex()
        Returns the index of the element that would be returned by a subsequent call to previous. (Returns -1 if the list iterator is at the beginning of the list.)
        Returns:
        the index of the element that would be returned by a subsequent call to previous, or -1 if list iterator is at beginning of list.
        See Also:
        ListIterator.previousIndex()