class org.jruby.RubyHash$BaseIterator implements java.util.Iterator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyHash$BaseIterator
super_class: java.lang.Object
{
private final org.jruby.RubyHash$EntryView view;
descriptor: Lorg/jruby/RubyHash$EntryView;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.jruby.RubyHash$RubyHashEntry entry;
descriptor: Lorg/jruby/RubyHash$RubyHashEntry;
flags: (0x0002) ACC_PRIVATE
private boolean peeking;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int startGeneration;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final org.jruby.RubyHash this$0;
descriptor: Lorg/jruby/RubyHash;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.jruby.RubyHash, org.jruby.RubyHash$EntryView);
descriptor: (Lorg/jruby/RubyHash;Lorg/jruby/RubyHash$EntryView;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.jruby.RubyHash$BaseIterator.view:Lorg/jruby/RubyHash$EntryView;
2: aload 0
aload 1
getfield org.jruby.RubyHash.head:Lorg/jruby/RubyHash$RubyHashEntry;
putfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
3: aload 0
aload 1
getfield org.jruby.RubyHash.generation:I
putfield org.jruby.RubyHash$BaseIterator.startGeneration:I
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyHash$BaseIterator;
0 5 2 view Lorg/jruby/RubyHash$EntryView;
MethodParameters:
Name Flags
this$0 final
view
private void advance(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyHash$BaseIterator.peeking:Z
ifne 6
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyHash$BaseIterator.startGeneration:I
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
getfield org.jruby.RubyHash.generation:I
if_icmpeq 4
2: aload 0
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
getfield org.jruby.RubyHash.generation:I
putfield org.jruby.RubyHash$BaseIterator.startGeneration:I
3: aload 0
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
getfield org.jruby.RubyHash.head:Lorg/jruby/RubyHash$RubyHashEntry;
putfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
getfield org.jruby.RubyHash$RubyHashEntry.nextAdded:Lorg/jruby/RubyHash$RubyHashEntry;
putfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
5: aload 0
getfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
getfield org.jruby.RubyHash.head:Lorg/jruby/RubyHash$RubyHashEntry;
if_acmpeq 6
aload 0
getfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
invokevirtual org.jruby.RubyHash$RubyHashEntry.isLive:()Z
ifeq 1
6: StackMap locals:
StackMap stack:
aload 0
iload 1
ifeq 7
iconst_0
goto 8
StackMap locals:
StackMap stack: org.jruby.RubyHash$BaseIterator
7: iconst_1
StackMap locals: org.jruby.RubyHash$BaseIterator int
StackMap stack: org.jruby.RubyHash$BaseIterator int
8: putfield org.jruby.RubyHash$BaseIterator.peeking:Z
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/RubyHash$BaseIterator;
0 10 1 consume Z
MethodParameters:
Name Flags
consume
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.jruby.RubyHash$BaseIterator.advance:(Z)V
1: aload 0
getfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
getfield org.jruby.RubyHash.head:Lorg/jruby/RubyHash$RubyHashEntry;
if_acmpne 4
2: aload 0
iconst_1
putfield org.jruby.RubyHash$BaseIterator.peeking:Z
3: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyHash$BaseIterator.view:Lorg/jruby/RubyHash$EntryView;
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
invokevirtual org.jruby.RubyHash.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
invokevirtual org.jruby.RubyHash$EntryView.convertEntry:(Lorg/jruby/Ruby;Lorg/jruby/RubyHash$RubyHashEntry;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyHash$BaseIterator;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.jruby.RubyHash$BaseIterator.advance:(Z)V
1: aload 0
getfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
getfield org.jruby.RubyHash.head:Lorg/jruby/RubyHash$RubyHashEntry;
if_acmpeq 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyHash$BaseIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
getfield org.jruby.RubyHash.head:Lorg/jruby/RubyHash$RubyHashEntry;
if_acmpne 2
1: new java.lang.IllegalStateException
dup
ldc "Iterator out of range"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyHash$BaseIterator.this$0:Lorg/jruby/RubyHash;
aload 0
getfield org.jruby.RubyHash$BaseIterator.entry:Lorg/jruby/RubyHash$RubyHashEntry;
invokevirtual org.jruby.RubyHash.internalDeleteEntry:(Lorg/jruby/RubyHash$RubyHashEntry;)Lorg/jruby/RubyHash$RubyHashEntry;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyHash$BaseIterator;
}
SourceFile: "RubyHash.java"
NestHost: org.jruby.RubyHash
InnerClasses:
private BaseIterator = org.jruby.RubyHash$BaseIterator of org.jruby.RubyHash
private abstract EntryView = org.jruby.RubyHash$EntryView of org.jruby.RubyHash
public final RubyHashEntry = org.jruby.RubyHash$RubyHashEntry of org.jruby.RubyHash