@return the end index
@description gets the end index to loop to.
file : https_github_com_apache_commons-collections_git/src/main/java/org/apache/commons/collections4/iterators/ObjectArrayIterator.java
file : https_github_com_apache_commons-collections_git/src/main/java/org/apache/commons/collections4/iterators/ArrayIterator.java