public abstract class org.apache.commons.collections4.iterators.LazyIteratorChain<E> implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.commons.collections4.iterators.LazyIteratorChain
super_class: java.lang.Object
{
private int callCounter;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean chainExhausted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Iterator<? extends E> currentIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<+TE;>;
private java.util.Iterator<? extends E> lastUsedIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<+TE;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.callCounter:I
2: aload 0
iconst_0
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.chainExhausted:Z
3: aload 0
aconst_null
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
4: aload 0
aconst_null
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.lastUsedIterator:Ljava/util/Iterator;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/collections4/iterators/LazyIteratorChain<TE;>;
protected abstract java.util.Iterator<? extends E> nextIterator(int);
descriptor: (I)Ljava/util/Iterator;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (I)Ljava/util/Iterator<+TE;>;
MethodParameters:
Name Flags
count
private void updateCurrentIterator();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.callCounter:I
ifne 12
1: aload 0
aload 0
aload 0
dup
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.callCounter:I
iconst_1
iadd
dup_x1
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.callCounter:I
invokevirtual org.apache.commons.collections4.iterators.LazyIteratorChain.nextIterator:(I)Ljava/util/Iterator;
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
2: aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
ifnonnull 5
3: aload 0
invokestatic org.apache.commons.collections4.iterators.EmptyIterator.emptyIterator:()Ljava/util/Iterator;
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
4: aload 0
iconst_1
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.chainExhausted:Z
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.lastUsedIterator:Ljava/util/Iterator;
6: goto 12
7: StackMap locals:
StackMap stack:
aload 0
aload 0
dup
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.callCounter:I
iconst_1
iadd
dup_x1
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.callCounter:I
invokevirtual org.apache.commons.collections4.iterators.LazyIteratorChain.nextIterator:(I)Ljava/util/Iterator;
astore 1
start local 1 8: aload 1
ifnull 11
9: aload 0
aload 1
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
10: goto 12
11: StackMap locals: java.util.Iterator
StackMap stack:
aload 0
iconst_1
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.chainExhausted:Z
end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.chainExhausted:Z
ifeq 7
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/commons/collections4/iterators/LazyIteratorChain<TE;>;
8 12 1 nextIterator Ljava/util/Iterator<+TE;>;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.iterators.LazyIteratorChain.updateCurrentIterator:()V
1: aload 0
aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.lastUsedIterator:Ljava/util/Iterator;
2: aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/iterators/LazyIteratorChain<TE;>;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.iterators.LazyIteratorChain.updateCurrentIterator:()V
1: aload 0
aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
putfield org.apache.commons.collections4.iterators.LazyIteratorChain.lastUsedIterator:Ljava/util/Iterator;
2: aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.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 Lorg/apache/commons/collections4/iterators/LazyIteratorChain<TE;>;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.currentIterator:Ljava/util/Iterator;
ifnonnull 2
1: aload 0
invokevirtual org.apache.commons.collections4.iterators.LazyIteratorChain.updateCurrentIterator:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.iterators.LazyIteratorChain.lastUsedIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.remove:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/iterators/LazyIteratorChain<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "LazyIteratorChain.java"