Returns the index of the next iterate while advancing iterator. A call to
peek() following by nextIndex() is the best way to obtain both the next
site and its index, if both are desired at once. Take care to copy values
in another array if planned for use after next iteration--values in
returned array may be changed when iterator is advanced. No meaningful
value is returned if hasNext is false.