public abstract class com.google.common.collect.AbstractIterator<T> extends com.google.common.collect.UnmodifiableIterator<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.collect.AbstractIterator
super_class: com.google.common.collect.UnmodifiableIterator
{
private com.google.common.collect.AbstractIterator$State state;
descriptor: Lcom/google/common/collect/AbstractIterator$State;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/google/common/collect/AbstractIterator$State;
private T next;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
private static volatile int[] $SWITCH_TABLE$com$google$common$collect$AbstractIterator$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.collect.UnmodifiableIterator.<init>:()V
1: aload 0
getstatic com.google.common.collect.AbstractIterator$State.NOT_READY:Lcom/google/common/collect/AbstractIterator$State;
putfield com.google.common.collect.AbstractIterator.state:Lcom/google/common/collect/AbstractIterator$State;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/AbstractIterator<TT;>;
protected abstract T computeNext();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: ()TT;
protected final T endOfData();
descriptor: ()Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.google.common.collect.AbstractIterator$State.DONE:Lcom/google/common/collect/AbstractIterator$State;
putfield com.google.common.collect.AbstractIterator.state:Lcom/google/common/collect/AbstractIterator$State;
1: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/AbstractIterator<TT;>;
Signature: ()TT;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
public final boolean hasNext();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.AbstractIterator.state:Lcom/google/common/collect/AbstractIterator$State;
getstatic com.google.common.collect.AbstractIterator$State.FAILED:Lcom/google/common/collect/AbstractIterator$State;
if_acmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: invokestatic com.google.common.collect.AbstractIterator.$SWITCH_TABLE$com$google$common$collect$AbstractIterator$State:()[I
aload 0
getfield com.google.common.collect.AbstractIterator.state:Lcom/google/common/collect/AbstractIterator$State;
invokevirtual com.google.common.collect.AbstractIterator$State.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 5
2: 6
3: 4
default: 6
}
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.AbstractIterator.tryToComputeNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/AbstractIterator<TT;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
private boolean tryToComputeNext();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.google.common.collect.AbstractIterator$State.FAILED:Lcom/google/common/collect/AbstractIterator$State;
putfield com.google.common.collect.AbstractIterator.state:Lcom/google/common/collect/AbstractIterator$State;
1: aload 0
aload 0
invokevirtual com.google.common.collect.AbstractIterator.computeNext:()Ljava/lang/Object;
putfield com.google.common.collect.AbstractIterator.next:Ljava/lang/Object;
2: aload 0
getfield com.google.common.collect.AbstractIterator.state:Lcom/google/common/collect/AbstractIterator$State;
getstatic com.google.common.collect.AbstractIterator$State.DONE:Lcom/google/common/collect/AbstractIterator$State;
if_acmpeq 5
3: aload 0
getstatic com.google.common.collect.AbstractIterator$State.READY:Lcom/google/common/collect/AbstractIterator$State;
putfield com.google.common.collect.AbstractIterator.state:Lcom/google/common/collect/AbstractIterator$State;
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/AbstractIterator<TT;>;
public final T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.AbstractIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getstatic com.google.common.collect.AbstractIterator$State.NOT_READY:Lcom/google/common/collect/AbstractIterator$State;
putfield com.google.common.collect.AbstractIterator.state:Lcom/google/common/collect/AbstractIterator$State;
3: aload 0
getfield com.google.common.collect.AbstractIterator.next:Ljava/lang/Object;
astore 1
start local 1 4: aload 0
aconst_null
putfield com.google.common.collect.AbstractIterator.next:Ljava/lang/Object;
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/AbstractIterator<TT;>;
4 6 1 result TT;
Signature: ()TT;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
public final T peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.AbstractIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.AbstractIterator.next:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/AbstractIterator<TT;>;
Signature: ()TT;
static int[] $SWITCH_TABLE$com$google$common$collect$AbstractIterator$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.google.common.collect.AbstractIterator.$SWITCH_TABLE$com$google$common$collect$AbstractIterator$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.google.common.collect.AbstractIterator$State.values:()[Lcom/google/common/collect/AbstractIterator$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.google.common.collect.AbstractIterator$State.DONE:Lcom/google/common/collect/AbstractIterator$State;
invokevirtual com.google.common.collect.AbstractIterator$State.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.google.common.collect.AbstractIterator$State.FAILED:Lcom/google/common/collect/AbstractIterator$State;
invokevirtual com.google.common.collect.AbstractIterator$State.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.google.common.collect.AbstractIterator$State.NOT_READY:Lcom/google/common/collect/AbstractIterator$State;
invokevirtual com.google.common.collect.AbstractIterator$State.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.google.common.collect.AbstractIterator$State.READY:Lcom/google/common/collect/AbstractIterator$State;
invokevirtual com.google.common.collect.AbstractIterator$State.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic com.google.common.collect.AbstractIterator.$SWITCH_TABLE$com$google$common$collect$AbstractIterator$State:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
Signature: <T:Ljava/lang/Object;>Lcom/google/common/collect/UnmodifiableIterator<TT;>;
SourceFile: "AbstractIterator.java"
NestMembers:
com.google.common.collect.AbstractIterator$State
InnerClasses:
private final State = com.google.common.collect.AbstractIterator$State of com.google.common.collect.AbstractIterator
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()