final class io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue<T> extends java.util.concurrent.atomic.AtomicReferenceArray<T> implements io.reactivex.internal.operators.maybe.MaybeMergeArray$SimpleQueueWithConsumerIndex<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue
super_class: java.util.concurrent.atomic.AtomicReferenceArray
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7969063454040569579
final java.util.concurrent.atomic.AtomicInteger producerIndex;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
int consumerIndex;
descriptor: I
flags: (0x0000)
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial java.util.concurrent.atomic.AtomicReferenceArray.<init>:(I)V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.producerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
0 3 1 length I
MethodParameters:
Name Flags
length
public boolean offer();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "value is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.producerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
istore 2
start local 2 2: iload 2
aload 0
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.length:()I
if_icmpge 5
3: aload 0
iload 2
aload 1
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.lazySet:(ILjava/lang/Object;)V
4: iconst_1
ireturn
5: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
0 6 1 value TT;
2 6 2 idx I
Signature: (TT;)Z
MethodParameters:
Name Flags
value
public boolean offer(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
0 1 1 v1 TT;
0 1 2 v2 TT;
Signature: (TT;TT;)Z
MethodParameters:
Name Flags
v1
v2
public T poll();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.consumerIndex:I
istore 1
start local 1 1: iload 1
aload 0
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.length:()I
if_icmpne 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.producerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
astore 2
start local 2 4: StackMap locals: java.util.concurrent.atomic.AtomicInteger
StackMap stack:
aload 0
iload 1
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.get:(I)Ljava/lang/Object;
astore 3
start local 3 5: aload 3
ifnull 9
6: aload 0
iload 1
iconst_1
iadd
putfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.consumerIndex:I
7: aload 0
iload 1
aconst_null
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.lazySet:(ILjava/lang/Object;)V
8: aload 3
areturn
9: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
iload 1
if_icmpne 4
10: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
1 11 1 ci I
4 11 2 pi Ljava/util/concurrent/atomic/AtomicInteger;
5 11 3 v TT;
Signature: ()TT;
RuntimeInvisibleAnnotations:
io.reactivex.annotations.Nullable()
public T peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.consumerIndex:I
istore 1
start local 1 1: iload 1
aload 0
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.length:()I
if_icmpne 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.get:(I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
1 4 1 ci I
Signature: ()TT;
public void drop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.consumerIndex:I
istore 1
start local 1 1: aload 0
iload 1
aconst_null
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.lazySet:(ILjava/lang/Object;)V
2: aload 0
iload 1
iconst_1
iadd
putfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.consumerIndex:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
1 4 1 ci I
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.consumerIndex:I
aload 0
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.producerIndex:()I
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/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.poll:()Ljava/lang/Object;
ifnull 1
aload 0
invokevirtual io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.isEmpty:()Z
ifeq 0
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
public int consumerIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.consumerIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
public int producerIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue.producerIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/maybe/MaybeMergeArray$MpscFillOnceSimpleQueue<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicReferenceArray<TT;>;Lio/reactivex/internal/operators/maybe/MaybeMergeArray$SimpleQueueWithConsumerIndex<TT;>;
SourceFile: "MaybeMergeArray.java"
NestHost: io.reactivex.internal.operators.maybe.MaybeMergeArray
InnerClasses:
final MpscFillOnceSimpleQueue = io.reactivex.internal.operators.maybe.MaybeMergeArray$MpscFillOnceSimpleQueue of io.reactivex.internal.operators.maybe.MaybeMergeArray
abstract SimpleQueueWithConsumerIndex = io.reactivex.internal.operators.maybe.MaybeMergeArray$SimpleQueueWithConsumerIndex of io.reactivex.internal.operators.maybe.MaybeMergeArray