Class ArrayIterator<T>

  • All Implemented Interfaces:
    de.mhus.lib.basics.ReadOnly, Iterator<T>

    public class ArrayIterator<T>
    extends Object
    implements Iterator<T>, de.mhus.lib.basics.ReadOnly
    • Constructor Detail

      • ArrayIterator

        public ArrayIterator​(T[] from,
                             int start,
                             int stop)
      • ArrayIterator

        public ArrayIterator​(T[] from)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<T>
      • next

        public T next()
        Specified by:
        next in interface Iterator<T>
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<T>