Skip to content

Instantly share code, notes, and snippets.

@charlesmuchene
Created May 7, 2023 15:50
Show Gist options
  • Save charlesmuchene/61d868b41f28022f0d1747054b868d55 to your computer and use it in GitHub Desktop.
Save charlesmuchene/61d868b41f28022f0d1747054b868d55 to your computer and use it in GitHub Desktop.
// ================LearningIterators.class =================
// class version 52.0 (52)
// access flags 0x31
public final class LearningIterators {
// access flags 0x19
public final static main()V
L0
LINENUMBER 2 L0
ICONST_4
ANEWARRAY java/lang/Integer
DUP
ICONST_0
ICONST_1
INVOKESTATIC java/lang/Integer.valueOf (I)Ljava/lang/Integer;
AASTORE
DUP
ICONST_1
ICONST_2
INVOKESTATIC java/lang/Integer.valueOf (I)Ljava/lang/Integer;
AASTORE
DUP
ICONST_2
ICONST_3
INVOKESTATIC java/lang/Integer.valueOf (I)Ljava/lang/Integer;
AASTORE
DUP
ICONST_3
ICONST_4
INVOKESTATIC java/lang/Integer.valueOf (I)Ljava/lang/Integer;
AASTORE
INVOKESTATIC kotlin/collections/CollectionsKt.listOf ([Ljava/lang/Object;)Ljava/util/List;
ASTORE 0
L1
LINENUMBER 3 L1
ALOAD 0
INVOKEINTERFACE java/util/List.iterator ()Ljava/util/Iterator; (itf)
ASTORE 2
L2
LINENUMBER 3 L2
ALOAD 2
INVOKEINTERFACE java/util/Iterator.hasNext ()Z (itf)
IFEQ L3
ALOAD 2
INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object; (itf)
CHECKCAST java/lang/Number
INVOKEVIRTUAL java/lang/Number.intValue ()I
ISTORE 1
L4
LINENUMBER 4 L4
L5
GETSTATIC java/lang/System.out : Ljava/io/PrintStream;
ILOAD 1
INVOKEVIRTUAL java/io/PrintStream.println (I)V
L6
L7
LINENUMBER 3 L7
L8
GOTO L2
L3
LINENUMBER 6 L3
RETURN
L9
LOCALVARIABLE number I L4 L8 1
LOCALVARIABLE numbers Ljava/util/List; L1 L9 0
MAXSTACK = 4
MAXLOCALS = 3
// access flags 0x1009
public static synthetic main([Ljava/lang/String;)V
INVOKESTATIC LearningIterators.main ()V
RETURN
MAXSTACK = 0
MAXLOCALS = 1
@Lkotlin/Metadata;(mv={1, 7, 0}, k=2, d1={"\u0000\u0008\n\u0000\n\u0002\u0010\u0002\n\u0000\u001a\u0006\u0010\u0000\u001a\u00020\u0001\u00a8\u0006\u0002"}, d2={"main", "", "mchezo"})
// compiled from: LearningIterators.kt
}
// ================META-INF/mchezo.kotlin_module =================

LearningIterators"*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment