Interface IndexedSearchIterator<K,​V>

    • Method Detail

      • hasNext

        boolean hasNext()
        Returns:
        true if iterator has any elements left, false otherwise
      • current

        V current()
        Returns:
        the value just recently returned by next()
        Throws:
        java.util.NoSuchElementException - if next() returned null
      • indexOfCurrent

        int indexOfCurrent()
        Returns:
        the index of the value returned by current(), and just returned by next()
        Throws:
        java.util.NoSuchElementException - if next() returned null