Klasse ArrayIterator<E>

java.lang.Object
ch.nolix.core.commontypetool.arraytool.ArrayIterator<E>
Alle implementierten Schnittstellen:
CopyableIterator<E>, Copyable<CopyableIterator<E>>, Iterator<E>

public final class ArrayIterator<E> extends Object implements CopyableIterator<E>
  • Methodendetails

    • forArray

      public static <E2> ArrayIterator<E2> forArray(E2[] array)
    • forArrayAndStartIndex

      public static <E2> ArrayIterator<E2> forArrayAndStartIndex(E2[] array, int startIndex)
    • getCopy

      public CopyableIterator<E> getCopy()
      Angegeben von:
      getCopy in Schnittstelle Copyable<E>
      Gibt zurück:
      a new copy of the current Copyable.
    • hasNext

      public boolean hasNext()
      Angegeben von:
      hasNext in Schnittstelle Iterator<E>
    • next

      public E next()
      Angegeben von:
      next in Schnittstelle Iterator<E>