class com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator<E> implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator
super_class: java.lang.Object
{
private final java.lang.Object[] elements;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int nextIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void <init>(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator.elements:[Ljava/lang/Object;
2: aload 0
iconst_0
putfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator.nextIndex:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableSet$ArrayIterator<TE;>;
0 4 1 elements [Ljava/lang/Object;
MethodParameters:
Name Flags
elements
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.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator.nextIndex:I
aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator.elements:[Ljava/lang/Object;
arraylength
if_icmpge 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/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableSet$ArrayIterator<TE;>;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
ldc "Iterator is exhausted"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator.elements:[Ljava/lang/Object;
aload 0
dup
getfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator.nextIndex:I
dup_x1
iconst_1
iadd
putfield com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator.nextIndex:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/datastax/oss/protocol/internal/util/collection/NullAllowingImmutableSet$ArrayIterator<TE;>;
Signature: ()TE;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "NullAllowingImmutableSet.java"
NestHost: com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet
InnerClasses:
private ArrayIterator = com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet$ArrayIterator of com.datastax.oss.protocol.internal.util.collection.NullAllowingImmutableSet