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