public class org.apache.commons.collections4.iterators.IteratorIterable<E> implements java.lang.Iterable<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.iterators.IteratorIterable
super_class: java.lang.Object
{
private final java.util.Iterator<? extends E> iterator;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<+TE;>;
private final java.util.Iterator<E> typeSafeIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<TE;>;
private static <E> java.util.Iterator<E> createTypesafeIterator(java.util.Iterator<? extends E>);
descriptor: (Ljava/util/Iterator;)Ljava/util/Iterator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.collections4.iterators.IteratorIterable$1
dup
aload 0
invokespecial org.apache.commons.collections4.iterators.IteratorIterable$1.<init>:(Ljava/util/Iterator;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterator Ljava/util/Iterator<+TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Iterator<+TE;>;)Ljava/util/Iterator<TE;>;
MethodParameters:
Name Flags
iterator final
public void <init>(java.util.Iterator<? extends E>);
descriptor: (Ljava/util/Iterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial org.apache.commons.collections4.iterators.IteratorIterable.<init>:(Ljava/util/Iterator;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/iterators/IteratorIterable<TE;>;
0 2 1 iterator Ljava/util/Iterator<+TE;>;
Signature: (Ljava/util/Iterator<+TE;>;)V
MethodParameters:
Name Flags
iterator final
public void <init>(java.util.Iterator<? extends E>, );
descriptor: (Ljava/util/Iterator;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 2
ifeq 4
aload 1
instanceof org.apache.commons.collections4.ResettableIterator
ifne 4
2: aload 0
new org.apache.commons.collections4.iterators.ListIteratorWrapper
dup
aload 1
invokespecial org.apache.commons.collections4.iterators.ListIteratorWrapper.<init>:(Ljava/util/Iterator;)V
putfield org.apache.commons.collections4.iterators.IteratorIterable.iterator:Ljava/util/Iterator;
3: goto 5
4: StackMap locals: org.apache.commons.collections4.iterators.IteratorIterable java.util.Iterator int
StackMap stack:
aload 0
aload 1
putfield org.apache.commons.collections4.iterators.IteratorIterable.iterator:Ljava/util/Iterator;
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.commons.collections4.iterators.IteratorIterable.iterator:Ljava/util/Iterator;
invokestatic org.apache.commons.collections4.iterators.IteratorIterable.createTypesafeIterator:(Ljava/util/Iterator;)Ljava/util/Iterator;
putfield org.apache.commons.collections4.iterators.IteratorIterable.typeSafeIterator:Ljava/util/Iterator;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/iterators/IteratorIterable<TE;>;
0 7 1 iterator Ljava/util/Iterator<+TE;>;
0 7 2 multipleUse Z
Signature: (Ljava/util/Iterator<+TE;>;Z)V
MethodParameters:
Name Flags
iterator final
multipleUse final
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.iterators.IteratorIterable.iterator:Ljava/util/Iterator;
instanceof org.apache.commons.collections4.ResettableIterator
ifeq 2
1: aload 0
getfield org.apache.commons.collections4.iterators.IteratorIterable.iterator:Ljava/util/Iterator;
checkcast org.apache.commons.collections4.ResettableIterator
invokeinterface org.apache.commons.collections4.ResettableIterator.reset:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.iterators.IteratorIterable.typeSafeIterator:Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/iterators/IteratorIterable<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Iterable<TE;>;
SourceFile: "IteratorIterable.java"
NestMembers:
org.apache.commons.collections4.iterators.IteratorIterable$1
InnerClasses:
org.apache.commons.collections4.iterators.IteratorIterable$1