public abstract class org.apache.cassandra.utils.AbstractIterator<V> implements java.util.Iterator<V>, com.google.common.collect.PeekingIterator<V>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.utils.AbstractIterator
super_class: java.lang.Object
{
private org.apache.cassandra.utils.AbstractIterator$State state;
descriptor: Lorg/apache/cassandra/utils/AbstractIterator$State;
flags: (0x0002) ACC_PRIVATE
private V next;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TV;
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$utils$AbstractIterator$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.apache.cassandra.utils.AbstractIterator$State.MUST_FETCH:Lorg/apache/cassandra/utils/AbstractIterator$State;
putfield org.apache.cassandra.utils.AbstractIterator.state:Lorg/apache/cassandra/utils/AbstractIterator$State;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/AbstractIterator<TV;>;
protected V endOfData();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.apache.cassandra.utils.AbstractIterator$State.DONE:Lorg/apache/cassandra/utils/AbstractIterator$State;
putfield org.apache.cassandra.utils.AbstractIterator.state:Lorg/apache/cassandra/utils/AbstractIterator$State;
1: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/AbstractIterator<TV;>;
Signature: ()TV;
protected abstract V computeNext();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: ()TV;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.utils.AbstractIterator.$SWITCH_TABLE$org$apache$cassandra$utils$AbstractIterator$State:()[I
aload 0
getfield org.apache.cassandra.utils.AbstractIterator.state:Lorg/apache/cassandra/utils/AbstractIterator$State;
invokevirtual org.apache.cassandra.utils.AbstractIterator$State.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 1
2: 3
3: 3
4: 7
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.utils.AbstractIterator$State.FAILED:Lorg/apache/cassandra/utils/AbstractIterator$State;
putfield org.apache.cassandra.utils.AbstractIterator.state:Lorg/apache/cassandra/utils/AbstractIterator$State;
2: aload 0
aload 0
invokevirtual org.apache.cassandra.utils.AbstractIterator.computeNext:()Ljava/lang/Object;
putfield org.apache.cassandra.utils.AbstractIterator.next:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.AbstractIterator.state:Lorg/apache/cassandra/utils/AbstractIterator$State;
getstatic org.apache.cassandra.utils.AbstractIterator$State.DONE:Lorg/apache/cassandra/utils/AbstractIterator$State;
if_acmpne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.cassandra.utils.AbstractIterator$State.HAS_NEXT:Lorg/apache/cassandra/utils/AbstractIterator$State;
putfield org.apache.cassandra.utils.AbstractIterator.state:Lorg/apache/cassandra/utils/AbstractIterator$State;
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/utils/AbstractIterator<TV;>;
public V next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.AbstractIterator.state:Lorg/apache/cassandra/utils/AbstractIterator$State;
getstatic org.apache.cassandra.utils.AbstractIterator$State.HAS_NEXT:Lorg/apache/cassandra/utils/AbstractIterator$State;
if_acmpeq 2
aload 0
invokevirtual org.apache.cassandra.utils.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 org.apache.cassandra.utils.AbstractIterator$State.MUST_FETCH:Lorg/apache/cassandra/utils/AbstractIterator$State;
putfield org.apache.cassandra.utils.AbstractIterator.state:Lorg/apache/cassandra/utils/AbstractIterator$State;
3: aload 0
getfield org.apache.cassandra.utils.AbstractIterator.next:Ljava/lang/Object;
astore 1
start local 1 4: aload 0
aconst_null
putfield org.apache.cassandra.utils.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 Lorg/apache/cassandra/utils/AbstractIterator<TV;>;
4 6 1 result TV;
Signature: ()TV;
public V peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.utils.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 org.apache.cassandra.utils.AbstractIterator.next:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/AbstractIterator<TV;>;
Signature: ()TV;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/AbstractIterator<TV;>;
static int[] $SWITCH_TABLE$org$apache$cassandra$utils$AbstractIterator$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.utils.AbstractIterator.$SWITCH_TABLE$org$apache$cassandra$utils$AbstractIterator$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.utils.AbstractIterator$State.values:()[Lorg/apache/cassandra/utils/AbstractIterator$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.utils.AbstractIterator$State.DONE:Lorg/apache/cassandra/utils/AbstractIterator$State;
invokevirtual org.apache.cassandra.utils.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 org.apache.cassandra.utils.AbstractIterator$State.FAILED:Lorg/apache/cassandra/utils/AbstractIterator$State;
invokevirtual org.apache.cassandra.utils.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 org.apache.cassandra.utils.AbstractIterator$State.HAS_NEXT:Lorg/apache/cassandra/utils/AbstractIterator$State;
invokevirtual org.apache.cassandra.utils.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 org.apache.cassandra.utils.AbstractIterator$State.MUST_FETCH:Lorg/apache/cassandra/utils/AbstractIterator$State;
invokevirtual org.apache.cassandra.utils.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 org.apache.cassandra.utils.AbstractIterator.$SWITCH_TABLE$org$apache$cassandra$utils$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: <V:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TV;>;Lcom/google/common/collect/PeekingIterator<TV;>;
SourceFile: "AbstractIterator.java"
NestMembers:
org.apache.cassandra.utils.AbstractIterator$State
InnerClasses:
private final State = org.apache.cassandra.utils.AbstractIterator$State of org.apache.cassandra.utils.AbstractIterator