final class io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable<T> extends io.reactivex.internal.observers.BasicQueueDisposable<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable
super_class: io.reactivex.internal.observers.BasicQueueDisposable
{
final io.reactivex.Observer<? super T> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TT;>;
final T[] array;
descriptor: [Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Signature: [TT;
int index;
descriptor: I
flags: (0x0000)
boolean fusionMode;
descriptor: Z
flags: (0x0000)
volatile boolean disposed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
void <init>(io.reactivex.Observer<? super T>, );
descriptor: (Lio/reactivex/Observer;[Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial io.reactivex.internal.observers.BasicQueueDisposable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.downstream:Lio/reactivex/Observer;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.array:[Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableFromArray$FromArrayDisposable<TT;>;
0 4 1 actual Lio/reactivex/Observer<-TT;>;
0 4 2 array [Ljava/lang/Object;
Signature: (Lio/reactivex/Observer<-TT;>;[TT;)V
MethodParameters:
Name Flags
actual
array
public int requestFusion(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
iand
ifeq 3
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.fusionMode:Z
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableFromArray$FromArrayDisposable<TT;>;
0 4 1 mode I
MethodParameters:
Name Flags
mode
public T poll();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.index:I
istore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.array:[Ljava/lang/Object;
astore 2
start local 2 2: iload 1
aload 2
arraylength
if_icmpeq 5
3: aload 0
iload 1
iconst_1
iadd
putfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.index:I
4: aload 2
iload 1
aaload
ldc "The array element is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
areturn
5: StackMap locals: int java.lang.Object[]
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableFromArray$FromArrayDisposable<TT;>;
1 6 1 i I
2 6 2 a [Ljava/lang/Object;
Signature: ()TT;
RuntimeInvisibleAnnotations:
io.reactivex.annotations.Nullable()
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.observable.ObservableFromArray$FromArrayDisposable.index:I
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.array:[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/reactivex/internal/operators/observable/ObservableFromArray$FromArrayDisposable<TT;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.array:[Ljava/lang/Object;
arraylength
putfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.index:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableFromArray$FromArrayDisposable<TT;>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.disposed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableFromArray$FromArrayDisposable<TT;>;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.disposed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableFromArray$FromArrayDisposable<TT;>;
void run();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.array:[Ljava/lang/Object;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: java.lang.Object[] int int
StackMap stack:
aload 1
iload 3
aaload
astore 4
start local 4 5: aload 4
ifnonnull 8
6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.downstream:Lio/reactivex/Observer;
new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "The element at index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is null"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
7: return
8: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.downstream:Lio/reactivex/Observer;
aload 4
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 2
if_icmpge 11
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.isDisposed:()Z
ifeq 4
end local 3 11: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.isDisposed:()Z
ifne 13
12: aload 0
getfield io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/operators/observable/ObservableFromArray$FromArrayDisposable<TT;>;
1 14 1 a [Ljava/lang/Object;
2 14 2 n I
3 11 3 i I
5 9 4 value TT;
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/internal/observers/BasicQueueDisposable<TT;>;
SourceFile: "ObservableFromArray.java"
NestHost: io.reactivex.internal.operators.observable.ObservableFromArray
InnerClasses:
final FromArrayDisposable = io.reactivex.internal.operators.observable.ObservableFromArray$FromArrayDisposable of io.reactivex.internal.operators.observable.ObservableFromArray