Created
September 5, 2016 14:06
-
-
Save thomasjungblut/3ceefaf11553f380f715bd59b5df905e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FlatMapTest { | |
public FlatMapTest() { // <init> //()V | |
<localVar:index=0 , name=this , desc=LFlatMapTest;, sig=null, start=L1, end=L2> | |
L1 { | |
aload0 // reference to self | |
invokespecial java/lang/Object <init>(()V); | |
return | |
} | |
L2 { | |
} | |
} | |
public static main(java.lang.String[] arg0) { //([Ljava/lang/String;)V | |
<localVar:index=0 , name=args , desc=[Ljava/lang/String;, sig=null, start=L1, end=L2> | |
<localVar:index=1 , name=master , desc=Ljava/util/List;, sig=Ljava/util/List<Ljava/util/List<Ljava/lang/Integer;>;>;, start=L3, end=L2> | |
<localVar:index=2 , name=i , desc=I, sig=null, start=L4, end=L5> | |
<localVar:index=3 , name=inner , desc=Ljava/util/List;, sig=Ljava/util/List<Ljava/lang/Integer;>;, start=L6, end=L7> | |
<localVar:index=4 , name=j , desc=I, sig=null, start=L8, end=L7> | |
<localVar:index=2 , name=finalAccumulated , desc=Ljava/util/List;, sig=Ljava/util/List<Ljava/lang/Integer;>;, start=L9, end=L2> | |
L1 { | |
new java/util/ArrayList | |
dup | |
invokespecial java/util/ArrayList <init>(()V); | |
astore1 | |
} | |
L3 { | |
iconst_0 | |
istore2 | |
} | |
L4 { | |
goto L10 | |
} | |
L11 { | |
new java/util/ArrayList | |
dup | |
invokespecial java/util/ArrayList <init>(()V); | |
astore3 | |
} | |
L6 { | |
aload1 | |
aload3 | |
invokeinterface java/util/List add((Ljava/lang/Object;)Z); | |
pop | |
} | |
L12 { | |
iconst_0 | |
istore4 | |
} | |
L8 { | |
goto L13 | |
} | |
L14 { | |
aload3 | |
iload2 | |
bipush 10 | |
imul | |
iload4 | |
iadd | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokeinterface java/util/List add((Ljava/lang/Object;)Z); | |
pop | |
} | |
L15 { | |
iinc 4 1 | |
} | |
L13 { | |
iload4 | |
bipush 10 | |
if_icmplt L14 | |
} | |
L7 { | |
iinc 2 1 | |
} | |
L10 { | |
iload2 | |
bipush 10 | |
if_icmplt L11 | |
} | |
L5 { | |
aload1 | |
} | |
L16 { | |
invokeinterface java/util/List stream(()Ljava/util/stream/Stream;); | |
} | |
L17 { | |
invokedynamic apply(java.util.function.Function); | |
invokeinterface java/util/stream/Stream flatMap((Ljava/util/function/Function;)Ljava/util/stream/Stream;); | |
} | |
L18 { | |
invokedynamic apply(java.util.function.Function); | |
invokeinterface java/util/stream/Stream map((Ljava/util/function/Function;)Ljava/util/stream/Stream;); | |
} | |
L19 { | |
invokestatic java/util/stream/Collectors toList(()Ljava/util/stream/Collector;); | |
invokeinterface java/util/stream/Stream collect((Ljava/util/stream/Collector;)Ljava/lang/Object;); | |
checkcast java/util/List | |
} | |
L20 { | |
astore2 | |
} | |
L9 { | |
return | |
} | |
L2 { | |
} | |
} | |
private static lambda$0(java.util.List arg0) { //(Ljava/util/List;)Ljava/util/stream/Stream; | |
<localVar:index=0 , name=x , desc=Ljava/util/List;, sig=Ljava/util/List<Ljava/lang/Integer;>;, start=L1, end=L2> | |
L1 { | |
aload0 | |
invokeinterface java/util/List stream(()Ljava/util/stream/Stream;); | |
areturn | |
} | |
L2 { | |
} | |
} | |
private static lambda$1(java.lang.Integer arg0) { //(Ljava/lang/Integer;)Ljava/lang/Integer; | |
<localVar:index=0 , name=i , desc=Ljava/lang/Integer;, sig=null, start=L1, end=L2> | |
L1 { | |
aload0 | |
invokevirtual java/lang/Integer intValue(()I); | |
sipush 1000 | |
iadd | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
areturn | |
} | |
L2 { | |
} | |
} | |
//the following inner classes couldn't be decompiled: java/lang/invoke/MethodHandles$Lookup | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FlatMapTest2 { | |
public FlatMapTest2() { // <init> //()V | |
<localVar:index=0 , name=this , desc=LFlatMapTest2;, sig=null, start=L1, end=L2> | |
L1 { | |
aload0 // reference to self | |
invokespecial java/lang/Object <init>(()V); | |
return | |
} | |
L2 { | |
} | |
} | |
public static main(java.lang.String[] arg0) { //([Ljava/lang/String;)V | |
<localVar:index=0 , name=args , desc=[Ljava/lang/String;, sig=null, start=L1, end=L2> | |
<localVar:index=1 , name=master , desc=Ljava/util/List;, sig=Ljava/util/List<Ljava/util/List<Ljava/lang/Integer;>;>;, start=L3, end=L2> | |
<localVar:index=2 , name=i , desc=I, sig=null, start=L4, end=L5> | |
<localVar:index=3 , name=inner , desc=Ljava/util/List;, sig=Ljava/util/List<Ljava/lang/Integer;>;, start=L6, end=L7> | |
<localVar:index=4 , name=j , desc=I, sig=null, start=L8, end=L7> | |
<localVar:index=2 , name=finalAccumulated , desc=Ljava/util/List;, sig=Ljava/util/List<Ljava/lang/Integer;>;, start=L9, end=L2> | |
L1 { | |
new java/util/ArrayList | |
dup | |
invokespecial java/util/ArrayList <init>(()V); | |
astore1 | |
} | |
L3 { | |
iconst_0 | |
istore2 | |
} | |
L4 { | |
goto L10 | |
} | |
L11 { | |
new java/util/ArrayList | |
dup | |
invokespecial java/util/ArrayList <init>(()V); | |
astore3 | |
} | |
L6 { | |
aload1 | |
aload3 | |
invokeinterface java/util/List add((Ljava/lang/Object;)Z); | |
pop | |
} | |
L12 { | |
iconst_0 | |
istore4 | |
} | |
L8 { | |
goto L13 | |
} | |
L14 { | |
aload3 | |
iload2 | |
bipush 10 | |
imul | |
iload4 | |
iadd | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
invokeinterface java/util/List add((Ljava/lang/Object;)Z); | |
pop | |
} | |
L15 { | |
iinc 4 1 | |
} | |
L13 { | |
iload4 | |
bipush 10 | |
if_icmplt L14 | |
} | |
L7 { | |
iinc 2 1 | |
} | |
L10 { | |
iload2 | |
bipush 10 | |
if_icmplt L11 | |
} | |
L5 { | |
aload1 | |
} | |
L16 { | |
invokeinterface java/util/List stream(()Ljava/util/stream/Stream;); | |
} | |
L17 { | |
invokedynamic apply(java.util.function.Function); | |
invokeinterface java/util/stream/Stream flatMap((Ljava/util/function/Function;)Ljava/util/stream/Stream;); | |
} | |
L18 { | |
invokedynamic apply(java.util.function.Function); | |
invokeinterface java/util/stream/Stream map((Ljava/util/function/Function;)Ljava/util/stream/Stream;); | |
} | |
L19 { | |
invokestatic java/util/stream/Collectors toList(()Ljava/util/stream/Collector;); | |
invokeinterface java/util/stream/Stream collect((Ljava/util/stream/Collector;)Ljava/lang/Object;); | |
checkcast java/util/List | |
} | |
L20 { | |
astore2 | |
} | |
L9 { | |
return | |
} | |
L2 { | |
} | |
} | |
private static lambda$0(java.lang.Integer arg0) { //(Ljava/lang/Integer;)Ljava/lang/Integer; | |
<localVar:index=0 , name=i , desc=Ljava/lang/Integer;, sig=null, start=L1, end=L2> | |
L1 { | |
aload0 | |
invokevirtual java/lang/Integer intValue(()I); | |
sipush 1000 | |
iadd | |
invokestatic java/lang/Integer valueOf((I)Ljava/lang/Integer;); | |
areturn | |
} | |
L2 { | |
} | |
} | |
//the following inner classes couldn't be decompiled: java/lang/invoke/MethodHandles$Lookup | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment