class com.sun.tools.javac.util.Iterators$CompoundIterator<I, O> implements java.util.Iterator<O>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.util.Iterators$CompoundIterator
super_class: java.lang.Object
{
private final java.util.Iterator<I> inputs;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<TI;>;
private final java.util.function.Function<I, java.util.Iterator<O>> convertor;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<TI;Ljava/util/Iterator<TO;>;>;
private java.util.Iterator<O> currentIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<TO;>;
public void <init>(java.lang.Iterable<I>, java.util.function.Function<I, java.util.Iterator<O>>);
descriptor: (Ljava/lang/Iterable;Ljava/util/function/Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.sun.tools.javac.util.Iterators.EMPTY:Ljava/util/Iterator;
putfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
2: aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
putfield com.sun.tools.javac.util.Iterators$CompoundIterator.inputs:Ljava/util/Iterator;
3: aload 0
aload 2
putfield com.sun.tools.javac.util.Iterators$CompoundIterator.convertor:Ljava/util/function/Function;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/util/Iterators$CompoundIterator<TI;TO;>;
0 5 1 inputs Ljava/lang/Iterable<TI;>;
0 5 2 convertor Ljava/util/function/Function<TI;Ljava/util/Iterator<TO;>;>;
Signature: (Ljava/lang/Iterable<TI;>;Ljava/util/function/Function<TI;Ljava/util/Iterator<TO;>;>;)V
MethodParameters:
Name Flags
inputs
convertor
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
ifnull 2
aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
1: aload 0
invokevirtual com.sun.tools.javac.util.Iterators$CompoundIterator.update:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
ifnull 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/Iterators$CompoundIterator<TI;TO;>;
public O next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
getstatic com.sun.tools.javac.util.Iterators.EMPTY:Ljava/util/Iterator;
if_acmpne 2
aload 0
invokevirtual com.sun.tools.javac.util.Iterators$CompoundIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/Iterators$CompoundIterator<TI;TO;>;
Signature: ()TO;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Iterators$CompoundIterator<TI;TO;>;
private void update();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: goto 3
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.convertor:Ljava/util/function/Function;
aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.inputs:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Iterator
putfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
2: aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 3
return
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.Iterators$CompoundIterator.inputs:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
aconst_null
putfield com.sun.tools.javac.util.Iterators$CompoundIterator.currentIterator:Ljava/util/Iterator;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/util/Iterators$CompoundIterator<TI;TO;>;
}
Signature: <I:Ljava/lang/Object;O:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TO;>;
SourceFile: "Iterators.java"
NestHost: com.sun.tools.javac.util.Iterators
InnerClasses:
private CompoundIterator = com.sun.tools.javac.util.Iterators$CompoundIterator of com.sun.tools.javac.util.Iterators