Class Arrays.Iterator

  • All Implemented Interfaces:
    java.util.Iterator

    
    public class Arrays.Iterator<T>
     implements Iterator<E>
                        

    Iterator backed by a specific array.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Arrays.Iterator(Array<T> dataArray) Base constructor.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean hasNext()
      T next()
      void remove()
      • Methods inherited from class java.util.Iterator

        forEachRemaining
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Arrays.Iterator

        Arrays.Iterator(Array<T> dataArray)
        Base constructor.
        Parameters:
        dataArray - array backing the iterator.