final class org.glassfish.grizzly.http2.BundleQueue<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http2.BundleQueue
super_class: java.lang.Object
{
private final java.util.LinkedList<org.glassfish.grizzly.http2.BundleQueue$Record<E>> internalQueue;
descriptor: Ljava/util/LinkedList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/LinkedList<Lorg/glassfish/grizzly/http2/BundleQueue$Record<TE;>;>;
private int lastElementAbsoluteDistance;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/BundleQueue<TE;>;
public void add(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.lastElementAbsoluteDistance:I
iload 1
if_icmple 2
1: new java.lang.IllegalStateException
dup
ldc "New element must have greater absolute distance than the last element in the queue"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
new org.glassfish.grizzly.http2.BundleQueue$Record
dup
aload 2
iload 1
aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.lastElementAbsoluteDistance:I
isub
invokespecial org.glassfish.grizzly.http2.BundleQueue$Record.<init>:(Ljava/lang/Object;I)V
invokevirtual java.util.LinkedList.addLast:(Ljava/lang/Object;)V
3: aload 0
iload 1
putfield org.glassfish.grizzly.http2.BundleQueue.lastElementAbsoluteDistance:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http2/BundleQueue<TE;>;
0 5 1 bundle I
0 5 2 element TE;
Signature: (ITE;)V
MethodParameters:
Name Flags
bundle final
element final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifne 1
aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.getFirst:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http2.BundleQueue$Record
getfield org.glassfish.grizzly.http2.BundleQueue$Record.distance:I
ifne 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 Lorg/glassfish/grizzly/http2/BundleQueue<TE;>;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http2.BundleQueue.hasNext:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "There is no next element available"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http2.BundleQueue$Record
getfield org.glassfish.grizzly.http2.BundleQueue$Record.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/BundleQueue<TE;>;
Signature: ()TE;
public boolean nextBundle();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifeq 5
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
pop
3: aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifeq 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.getFirst:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http2.BundleQueue$Record
getfield org.glassfish.grizzly.http2.BundleQueue$Record.distance:I
ifeq 2
6: aload 0
dup
getfield org.glassfish.grizzly.http2.BundleQueue.lastElementAbsoluteDistance:I
iconst_1
isub
putfield org.glassfish.grizzly.http2.BundleQueue.lastElementAbsoluteDistance:I
7: aload 0
getfield org.glassfish.grizzly.http2.BundleQueue.internalQueue:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.getFirst:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http2.BundleQueue$Record
dup
getfield org.glassfish.grizzly.http2.BundleQueue$Record.distance:I
iconst_1
isub
dup_x1
putfield org.glassfish.grizzly.http2.BundleQueue$Record.distance:I
ifne 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http2/BundleQueue<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "BundleQueue.java"
NestMembers:
org.glassfish.grizzly.http2.BundleQueue$Record
InnerClasses:
private final Record = org.glassfish.grizzly.http2.BundleQueue$Record of org.glassfish.grizzly.http2.BundleQueue