final class io.vertx.redis.client.impl.ArrayQueue
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.vertx.redis.client.impl.ArrayQueue
super_class: java.lang.Object
{
private int cur;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int front;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int back;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object[] queue;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(int);
descriptor: (I)V
flags: (0x0000)
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
iload 1
anewarray java.lang.Object
putfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
2: aload 0
iconst_m1
putfield io.vertx.redis.client.impl.ArrayQueue.back:I
3: aload 0
iconst_0
putfield io.vertx.redis.client.impl.ArrayQueue.front:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/ArrayQueue;
0 5 1 capacity I
MethodParameters:
Name Flags
capacity
boolean isEmpty();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.cur: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 Lio/vertx/redis/client/impl/ArrayQueue;
<T> void offer();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.redis.client.impl.ArrayQueue.isFull:()Z
ifeq 2
1: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield io.vertx.redis.client.impl.ArrayQueue.back:I
iconst_1
iadd
putfield io.vertx.redis.client.impl.ArrayQueue.back:I
3: aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.back:I
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
arraylength
irem
aload 1
aastore
4: aload 0
dup
getfield io.vertx.redis.client.impl.ArrayQueue.cur:I
iconst_1
iadd
putfield io.vertx.redis.client.impl.ArrayQueue.cur:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/redis/client/impl/ArrayQueue;
0 6 1 value TT;
Signature: <T:Ljava/lang/Object;>(TT;)V
MethodParameters:
Name Flags
value
<T> T peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.redis.client.impl.ArrayQueue.isEmpty:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.front:I
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
arraylength
irem
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/redis/client/impl/ArrayQueue;
Signature: <T:Ljava/lang/Object;>()TT;
<T> T poll();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.redis.client.impl.ArrayQueue.peek:()Ljava/lang/Object;
astore 1
start local 1 1: aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.front:I
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
arraylength
irem
aconst_null
aastore
2: aload 0
dup
getfield io.vertx.redis.client.impl.ArrayQueue.front:I
iconst_1
iadd
putfield io.vertx.redis.client.impl.ArrayQueue.front:I
3: aload 0
dup
getfield io.vertx.redis.client.impl.ArrayQueue.cur:I
iconst_1
isub
putfield io.vertx.redis.client.impl.ArrayQueue.cur:I
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/ArrayQueue;
1 5 1 e TT;
Signature: <T:Ljava/lang/Object;>()TT;
int freeSlots();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
arraylength
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.cur:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/ArrayQueue;
boolean isFull();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.cur:I
aload 0
getfield io.vertx.redis.client.impl.ArrayQueue.queue:[Ljava/lang/Object;
arraylength
if_icmpne 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 Lio/vertx/redis/client/impl/ArrayQueue;
}
SourceFile: "ArrayQueue.java"