src/main/java/org/jboss/util/collection/ArrayIterator.java
/**
    * Returns the next element in the iteration.
    *
    * @return  The next element in the iteration.
    *
    * @throws NoSuchElementException   The are no more elements available.
    */
Returns the next element in the iteration.
@return  The next element in the iteration.

@throws NoSuchElementException   The are no more elements available.
Returns the next element in the iteration . @return The next element in the iteration . @throws NoSuchElementException The are no more elements available .
public Object next() {
      if (! hasNext())
         throw new NoSuchElementException();
      return array[index++];
   }
public Object next ( ) { if ( ! hasNext ( ) ) throw new NoSuchElementException ( ) ; return array [ index ++ ] ; }
Returns the next element in the iteration.
Returns the next element in the iteration .