class com.google.common.collect.Iterators$2 implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.Iterators$2
super_class: java.lang.Object
{
java.util.Iterator<T> iterator;
descriptor: Ljava/util/Iterator;
flags: (0x0000)
Signature: Ljava/util/Iterator<TT;>;
private final java.lang.Iterable val$iterable;
descriptor: Ljava/lang/Iterable;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.Iterable);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.google.common.collect.Iterators$2.val$iterable:Ljava/lang/Iterable;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.google.common.collect.Iterators.emptyModifiableIterator:()Ljava/util/Iterator;
putfield com.google.common.collect.Iterators$2.iterator:Ljava/util/Iterator;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Iterators$2;
MethodParameters:
Name Flags
val$iterable final
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.google.common.collect.Iterators$2.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
aload 0
getfield com.google.common.collect.Iterators$2.val$iterable:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/Iterators$2;
public T 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.google.common.collect.Iterators$2.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
1: aload 0
aload 0
getfield com.google.common.collect.Iterators$2.val$iterable:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
putfield com.google.common.collect.Iterators$2.iterator:Ljava/util/Iterator;
2: aload 0
getfield com.google.common.collect.Iterators$2.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
3: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.Iterators$2.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/Iterators$2;
Signature: ()TT;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Iterators$2.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.remove:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/Iterators$2;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "Iterators.java"
EnclosingMethod: com.google.common.collect.Iterators.cycle:(Ljava/lang/Iterable;)Ljava/util/Iterator;
NestHost: com.google.common.collect.Iterators
InnerClasses:
com.google.common.collect.Iterators$2