content: /*
   * Decompiled with CFR 0.153-SNAPSHOT (d6f6758-dirty).
   */
  package kotlin.jvm.internal;
  
  import java.util.Iterator;
  import java.util.NoSuchElementException;
  import kotlin.Metadata;
  import kotlin.jvm.internal.Intrinsics;
  import kotlin.jvm.internal.markers.KMappedMarker;
  import org.jetbrains.annotations.NotNull;
  
  @Metadata(mv={1, 4, 0}, bv={1, 0, 3}, k=1, d1={"\u0000\"\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010(\n\u0000\n\u0002\u0010\u0011\n\u0002\b\u0005\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\b\u0002\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u0002B\u0013\u0012\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004\u00a2\u0006\u0002\u0010\u0005J\t\u0010\u000b\u001a\u00020\fH\u0096\u0002J\u000e\u0010\r\u001a\u00028\u0000H\u0096\u0002\u00a2\u0006\u0002\u0010\u000eR\u0019\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0004\u00a2\u0006\n\n\u0002\u0010\b\u001a\u0004\b\u0006\u0010\u0007R\u000e\u0010\t\u001a\u00020\nX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000f"}, d2={"Lkotlin/jvm/internal/ArrayIterator;", "T", "", "array", "", "([Ljava/lang/Object;)V", "getArray", "()[Ljava/lang/Object;", "[Ljava/lang/Object;", "index", "", "hasNext", "", "next", "()Ljava/lang/Object;", "kotlin-stdlib"})
  final class ArrayIterator<T>
  implements Iterator<T>,
  KMappedMarker {
      private int index;
      @NotNull
      private final T[] array;
  
      @Override
      public boolean hasNext() {
          return this.index < this.array.length;
      }
  
      @Override
      public T next() {
          T t;
          try {
              int n = this.index;
              this.index = n + 1;
              t = this.array[n];
          } catch (ArrayIndexOutOfBoundsException e) {
              --this.index;
              throw (Throwable)new NoSuchElementException(e.getMessage());
          }
          return t;
      }
  
      @NotNull
      public final T[] getArray() {
          return this.array;
      }
  
      public ArrayIterator(@NotNull T[] array) {
          Intrinsics.checkNotNullParameter(array, "array");
          this.array = array;
      }
  
      @Override
      public void remove() {
          throw new UnsupportedOperationException("Operation is not supported for read-only collection");
      }
  }
  
  