public final class org.eclipse.collections.impl.lazy.iterator.TakeIterator<T> implements java.util.Iterator<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.eclipse.collections.impl.lazy.iterator.TakeIterator
  super_class: java.lang.Object
{
  private final java.util.Iterator<T> iterator;
    descriptor: Ljava/util/Iterator;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Iterator<TT;>;

  private final int count;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int currentIndex;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.lang.Iterable<T>, );
    descriptor: (Ljava/lang/Iterable;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
        start local 1 // java.lang.Iterable iterable
        start local 2 // int count
         0: .line 29
            aload 0 /* this */
            aload 1 /* iterable */
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            iload 2 /* count */
            invokespecial org.eclipse.collections.impl.lazy.iterator.TakeIterator.<init>:(Ljava/util/Iterator;I)V
         1: .line 30
            return
        end local 2 // int count
        end local 1 // java.lang.Iterable iterable
        end local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/eclipse/collections/impl/lazy/iterator/TakeIterator<TT;>;
            0    2     1  iterable  Ljava/lang/Iterable<TT;>;
            0    2     2     count  I
    Signature: (Ljava/lang/Iterable<TT;>;I)V
    MethodParameters:
          Name  Flags
      iterable  
      count     

  public void <init>(java.util.Iterator<T>, );
    descriptor: (Ljava/util/Iterator;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
        start local 1 // java.util.Iterator iterator
        start local 2 // int count
         0: .line 32
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 34
            aload 0 /* this */
            aload 1 /* iterator */
            putfield org.eclipse.collections.impl.lazy.iterator.TakeIterator.iterator:Ljava/util/Iterator;
         2: .line 35
            aload 0 /* this */
            iload 2 /* count */
            putfield org.eclipse.collections.impl.lazy.iterator.TakeIterator.count:I
         3: .line 36
            return
        end local 2 // int count
        end local 1 // java.util.Iterator iterator
        end local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lorg/eclipse/collections/impl/lazy/iterator/TakeIterator<TT;>;
            0    4     1  iterator  Ljava/util/Iterator<TT;>;
            0    4     2     count  I
    Signature: (Ljava/util/Iterator<TT;>;I)V
    MethodParameters:
          Name  Flags
      iterator  
      count     

  public boolean hasNext();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
         0: .line 41
            aload 0 /* this */
            getfield org.eclipse.collections.impl.lazy.iterator.TakeIterator.currentIndex:I
            aload 0 /* this */
            getfield org.eclipse.collections.impl.lazy.iterator.TakeIterator.count:I
            if_icmpge 1
            aload 0 /* this */
            getfield org.eclipse.collections.impl.lazy.iterator.TakeIterator.iterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/eclipse/collections/impl/lazy/iterator/TakeIterator<TT;>;

  public T next();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
         0: .line 47
            aload 0 /* this */
            invokevirtual org.eclipse.collections.impl.lazy.iterator.TakeIterator.hasNext:()Z
            ifeq 3
         1: .line 49
            aload 0 /* this */
            dup
            getfield org.eclipse.collections.impl.lazy.iterator.TakeIterator.currentIndex:I
            iconst_1
            iadd
            putfield org.eclipse.collections.impl.lazy.iterator.TakeIterator.currentIndex:I
         2: .line 50
            aload 0 /* this */
            getfield org.eclipse.collections.impl.lazy.iterator.TakeIterator.iterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            areturn
         3: .line 52
      StackMap locals:
      StackMap stack:
            new java.util.NoSuchElementException
            dup
            invokespecial java.util.NoSuchElementException.<init>:()V
            athrow
        end local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/eclipse/collections/impl/lazy/iterator/TakeIterator<TT;>;
    Signature: ()TT;

  public void remove();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
         0: .line 58
            new java.lang.UnsupportedOperationException
            dup
            ldc "Cannot remove from a take iterator"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.eclipse.collections.impl.lazy.iterator.TakeIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/collections/impl/lazy/iterator/TakeIterator<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "TakeIterator.java"