final class io.netty.channel.group.CombinedIterator<E> implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.group.CombinedIterator
super_class: java.lang.Object
{
private final java.util.Iterator<E> i1;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<TE;>;
private final java.util.Iterator<E> i2;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<TE;>;
private java.util.Iterator<E> currentIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<TE;>;
void <init>(java.util.Iterator<E>, java.util.Iterator<E>);
descriptor: (Ljava/util/Iterator;Ljava/util/Iterator;)V
flags: (0x0000)
Code:
stack=3, 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 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "i1"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.channel.group.CombinedIterator java.util.Iterator java.util.Iterator
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "i2"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.channel.group.CombinedIterator.i1:Ljava/util/Iterator;
6: aload 0
aload 2
putfield io.netty.channel.group.CombinedIterator.i2:Ljava/util/Iterator;
7: aload 0
aload 1
putfield io.netty.channel.group.CombinedIterator.currentIterator:Ljava/util/Iterator;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/channel/group/CombinedIterator<TE;>;
0 9 1 i1 Ljava/util/Iterator<TE;>;
0 9 2 i2 Ljava/util/Iterator<TE;>;
Signature: (Ljava/util/Iterator<TE;>;Ljava/util/Iterator<TE;>;)V
MethodParameters:
Name Flags
i1
i2
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.group.CombinedIterator.currentIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.group.CombinedIterator.currentIterator:Ljava/util/Iterator;
aload 0
getfield io.netty.channel.group.CombinedIterator.i1:Ljava/util/Iterator;
if_acmpne 5
3: aload 0
aload 0
getfield io.netty.channel.group.CombinedIterator.i2:Ljava/util/Iterator;
putfield io.netty.channel.group.CombinedIterator.currentIterator:Ljava/util/Iterator;
4: goto 0
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/channel/group/CombinedIterator<TE;>;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.group.CombinedIterator.currentIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.util.NoSuchElementException
astore 1
start local 1 3: aload 0
getfield io.netty.channel.group.CombinedIterator.currentIterator:Ljava/util/Iterator;
aload 0
getfield io.netty.channel.group.CombinedIterator.i1:Ljava/util/Iterator;
if_acmpne 6
4: aload 0
aload 0
getfield io.netty.channel.group.CombinedIterator.i2:Ljava/util/Iterator;
putfield io.netty.channel.group.CombinedIterator.currentIterator:Ljava/util/Iterator;
5: goto 0
6: StackMap locals: java.util.NoSuchElementException
StackMap stack:
aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/channel/group/CombinedIterator<TE;>;
3 7 1 e Ljava/util/NoSuchElementException;
Exception table:
from to target type
0 1 2 Class java.util.NoSuchElementException
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 io.netty.channel.group.CombinedIterator.currentIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.remove:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/group/CombinedIterator<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "CombinedIterator.java"