public final class io.reactivex.internal.operators.observable.ObservableCollectSingle<T, U> extends io.reactivex.Single<U> implements io.reactivex.internal.fuseable.FuseToObservable<U>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableCollectSingle
super_class: io.reactivex.Single
{
final io.reactivex.ObservableSource<T> source;
descriptor: Lio/reactivex/ObservableSource;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/ObservableSource<TT;>;
final java.util.concurrent.Callable<? extends U> initialSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<+TU;>;
final io.reactivex.functions.BiConsumer<? super U, ? super T> collector;
descriptor: Lio/reactivex/functions/BiConsumer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/BiConsumer<-TU;-TT;>;
public void <init>(io.reactivex.ObservableSource<T>, java.util.concurrent.Callable<? extends U>, io.reactivex.functions.BiConsumer<? super U, ? super T>);
descriptor: (Lio/reactivex/ObservableSource;Ljava/util/concurrent/Callable;Lio/reactivex/functions/BiConsumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial io.reactivex.Single.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableCollectSingle.source:Lio/reactivex/ObservableSource;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableCollectSingle.initialSupplier:Ljava/util/concurrent/Callable;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableCollectSingle.collector:Lio/reactivex/functions/BiConsumer;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/observable/ObservableCollectSingle<TT;TU;>;
0 5 1 source Lio/reactivex/ObservableSource<TT;>;
0 5 2 initialSupplier Ljava/util/concurrent/Callable<+TU;>;
0 5 3 collector Lio/reactivex/functions/BiConsumer<-TU;-TT;>;
Signature: (Lio/reactivex/ObservableSource<TT;>;Ljava/util/concurrent/Callable<+TU;>;Lio/reactivex/functions/BiConsumer<-TU;-TT;>;)V
MethodParameters:
Name Flags
source
initialSupplier
collector
protected void subscribeActual(io.reactivex.SingleObserver<? super U>);
descriptor: (Lio/reactivex/SingleObserver;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCollectSingle.initialSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
ldc "The initialSupplier returned a null value"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 1: goto 5
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: aload 3
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/SingleObserver;)V
4: return
end local 3 start local 2 5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCollectSingle.source:Lio/reactivex/ObservableSource;
new io.reactivex.internal.operators.observable.ObservableCollectSingle$CollectObserver
dup
aload 1
aload 2
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCollectSingle.collector:Lio/reactivex/functions/BiConsumer;
invokespecial io.reactivex.internal.operators.observable.ObservableCollectSingle$CollectObserver.<init>:(Lio/reactivex/SingleObserver;Ljava/lang/Object;Lio/reactivex/functions/BiConsumer;)V
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/observable/ObservableCollectSingle<TT;TU;>;
0 7 1 t Lio/reactivex/SingleObserver<-TU;>;
1 2 2 u TU;
5 7 2 u TU;
3 5 3 e Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Signature: (Lio/reactivex/SingleObserver<-TU;>;)V
MethodParameters:
Name Flags
t
public io.reactivex.Observable<U> fuseToObservable();
descriptor: ()Lio/reactivex/Observable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new io.reactivex.internal.operators.observable.ObservableCollect
dup
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCollectSingle.source:Lio/reactivex/ObservableSource;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCollectSingle.initialSupplier:Ljava/util/concurrent/Callable;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCollectSingle.collector:Lio/reactivex/functions/BiConsumer;
invokespecial io.reactivex.internal.operators.observable.ObservableCollect.<init>:(Lio/reactivex/ObservableSource;Ljava/util/concurrent/Callable;Lio/reactivex/functions/BiConsumer;)V
invokestatic io.reactivex.plugins.RxJavaPlugins.onAssembly:(Lio/reactivex/Observable;)Lio/reactivex/Observable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableCollectSingle<TT;TU;>;
Signature: ()Lio/reactivex/Observable<TU;>;
}
Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;>Lio/reactivex/Single<TU;>;Lio/reactivex/internal/fuseable/FuseToObservable<TU;>;
SourceFile: "ObservableCollectSingle.java"
NestMembers:
io.reactivex.internal.operators.observable.ObservableCollectSingle$CollectObserver
InnerClasses:
final CollectObserver = io.reactivex.internal.operators.observable.ObservableCollectSingle$CollectObserver of io.reactivex.internal.operators.observable.ObservableCollectSingle