Class ArrayIterator<T>

  • All Implemented Interfaces:
    Iterable<T>, Iterator<T>

    public class ArrayIterator<T>
    extends Object
    implements Iterator<T>, Iterable<T>
    Iterator implementation used to efficiently expose contents of an Array as read-only iterator.
    • Constructor Detail

      • ArrayIterator

        public ArrayIterator​(T[] a)