class org.apache.commons.collections.buffer.PriorityBuffer$1 implements java.util.Iterator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.collections.buffer.PriorityBuffer$1
super_class: java.lang.Object
{
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastReturnedIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final org.apache.commons.collections.buffer.PriorityBuffer this$0;
descriptor: Lorg/apache/commons/collections/buffer/PriorityBuffer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.commons.collections.buffer.PriorityBuffer);
descriptor: (Lorg/apache/commons/collections/buffer/PriorityBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.apache.commons.collections.buffer.PriorityBuffer$1 this
0: .line 470
aload 0 /* this */
aload 1
putfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 472
aload 0 /* this */
iconst_1
putfield org.apache.commons.collections.buffer.PriorityBuffer$1.index:I
2: .line 473
aload 0 /* this */
iconst_m1
putfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
3: .line 470
return
end local 0 // org.apache.commons.collections.buffer.PriorityBuffer$1 this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections/buffer/PriorityBuffer$1;
MethodParameters:
Name Flags
this$0 final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // org.apache.commons.collections.buffer.PriorityBuffer$1 this
0: .line 476
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.index:I
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.size:I
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 // org.apache.commons.collections.buffer.PriorityBuffer$1 this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections/buffer/PriorityBuffer$1;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // org.apache.commons.collections.buffer.PriorityBuffer$1 this
0: .line 480
aload 0 /* this */
invokevirtual org.apache.commons.collections.buffer.PriorityBuffer$1.hasNext:()Z
ifne 2
1: .line 481
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: .line 483
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.index:I
putfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
3: .line 484
aload 0 /* this */
dup
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.index:I
iconst_1
iadd
putfield org.apache.commons.collections.buffer.PriorityBuffer$1.index:I
4: .line 485
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.elements:[Ljava/lang/Object;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
aaload
areturn
end local 0 // org.apache.commons.collections.buffer.PriorityBuffer$1 this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections/buffer/PriorityBuffer$1;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 // org.apache.commons.collections.buffer.PriorityBuffer$1 this
0: .line 489
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
iconst_m1
if_icmpne 2
1: .line 490
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: .line 492
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.elements:[Ljava/lang/Object;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.elements:[Ljava/lang/Object;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.size:I
aaload
aastore
3: .line 493
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.elements:[Ljava/lang/Object;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.size:I
aconst_null
aastore
4: .line 494
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
dup
getfield org.apache.commons.collections.buffer.PriorityBuffer.size:I
iconst_1
isub
putfield org.apache.commons.collections.buffer.PriorityBuffer.size:I
5: .line 495
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.size:I
ifeq 21
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.size:I
if_icmpgt 21
6: .line 496
iconst_0
istore 1 /* compareToParent */
start local 1 // int compareToParent
7: .line 497
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
iconst_1
if_icmple 11
8: .line 498
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.elements:[Ljava/lang/Object;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
aaload
9: .line 499
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.elements:[Ljava/lang/Object;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
iconst_2
idiv
aaload
10: .line 498
invokevirtual org.apache.commons.collections.buffer.PriorityBuffer.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 1 /* compareToParent */
11: .line 501
StackMap locals: int
StackMap stack:
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
getfield org.apache.commons.collections.buffer.PriorityBuffer.ascendingOrder:Z
ifeq 17
12: .line 502
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
iconst_1
if_icmple 15
iload 1 /* compareToParent */
ifge 15
13: .line 503
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
invokevirtual org.apache.commons.collections.buffer.PriorityBuffer.percolateUpMinHeap:(I)V
14: .line 504
goto 21
15: .line 505
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
invokevirtual org.apache.commons.collections.buffer.PriorityBuffer.percolateDownMinHeap:(I)V
16: .line 507
goto 21
17: .line 508
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
iconst_1
if_icmple 20
iload 1 /* compareToParent */
ifle 20
18: .line 509
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
invokevirtual org.apache.commons.collections.buffer.PriorityBuffer.percolateUpMaxHeap:(I)V
19: .line 510
goto 21
20: .line 511
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.this$0:Lorg/apache/commons/collections/buffer/PriorityBuffer;
aload 0 /* this */
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
invokevirtual org.apache.commons.collections.buffer.PriorityBuffer.percolateDownMaxHeap:(I)V
end local 1 // int compareToParent
21: .line 515
StackMap locals:
StackMap stack:
aload 0 /* this */
dup
getfield org.apache.commons.collections.buffer.PriorityBuffer$1.index:I
iconst_1
isub
putfield org.apache.commons.collections.buffer.PriorityBuffer$1.index:I
22: .line 516
aload 0 /* this */
iconst_m1
putfield org.apache.commons.collections.buffer.PriorityBuffer$1.lastReturnedIndex:I
23: .line 517
return
end local 0 // org.apache.commons.collections.buffer.PriorityBuffer$1 this
LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/commons/collections/buffer/PriorityBuffer$1;
7 21 1 compareToParent I
}
SourceFile: "PriorityBuffer.java"
EnclosingMethod: org.apache.commons.collections.buffer.PriorityBuffer.iterator:()Ljava/util/Iterator;
NestHost: org.apache.commons.collections.buffer.PriorityBuffer
InnerClasses:
org.apache.commons.collections.buffer.PriorityBuffer$1