public abstract class com.google.common.collect.AbstractSequentialIterator<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.AbstractSequentialIterator
super_class: com.google.common.collect.UnmodifiableIterator
{
private T nextOrNull;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
protected void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.UnmodifiableIterator.<init>:()V
1: aload 0
aload 1
putfield com.google.common.collect.AbstractSequentialIterator.nextOrNull:Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/AbstractSequentialIterator<TT;>;
0 3 1 firstOrNull TT;
Signature: (TT;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
firstOrNull
protected abstract T computeNext();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TT;)TT;
MethodParameters:
Name Flags
previous
public final boolean hasNext();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.AbstractSequentialIterator.nextOrNull:Ljava/lang/Object;
ifnull 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/AbstractSequentialIterator<TT;>;
public final T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.AbstractSequentialIterator.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.AbstractSequentialIterator.nextOrNull:Ljava/lang/Object;
astore 2
3: aload 0
aload 0
aload 0
getfield com.google.common.collect.AbstractSequentialIterator.nextOrNull:Ljava/lang/Object;
invokevirtual com.google.common.collect.AbstractSequentialIterator.computeNext:(Ljava/lang/Object;)Ljava/lang/Object;
putfield com.google.common.collect.AbstractSequentialIterator.nextOrNull:Ljava/lang/Object;
4: aload 2
areturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
6: aload 0
aload 0
aload 0
getfield com.google.common.collect.AbstractSequentialIterator.nextOrNull:Ljava/lang/Object;
invokevirtual com.google.common.collect.AbstractSequentialIterator.computeNext:(Ljava/lang/Object;)Ljava/lang/Object;
putfield com.google.common.collect.AbstractSequentialIterator.nextOrNull:Ljava/lang/Object;
7: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/AbstractSequentialIterator<TT;>;
Exception table:
from to target type
2 3 5 any
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Lcom/google/common/collect/UnmodifiableIterator<TT;>;
SourceFile: "AbstractSequentialIterator.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()