public final class io.reactivex.internal.operators.observable.ObservableGenerate<T, S> extends io.reactivex.Observable<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableGenerate
super_class: io.reactivex.Observable
{
final java.util.concurrent.Callable<S> stateSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TS;>;
final io.reactivex.functions.BiFunction<S, io.reactivex.Emitter<T>, S> generator;
descriptor: Lio/reactivex/functions/BiFunction;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/BiFunction<TS;Lio/reactivex/Emitter<TT;>;TS;>;
final io.reactivex.functions.Consumer<? super S> disposeState;
descriptor: Lio/reactivex/functions/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Consumer<-TS;>;
public void <init>(java.util.concurrent.Callable<S>, io.reactivex.functions.BiFunction<S, io.reactivex.Emitter<T>, S>, io.reactivex.functions.Consumer<? super S>);
descriptor: (Ljava/util/concurrent/Callable;Lio/reactivex/functions/BiFunction;Lio/reactivex/functions/Consumer;)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.Observable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableGenerate.stateSupplier:Ljava/util/concurrent/Callable;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableGenerate.generator:Lio/reactivex/functions/BiFunction;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableGenerate.disposeState:Lio/reactivex/functions/Consumer;
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/ObservableGenerate<TT;TS;>;
0 5 1 stateSupplier Ljava/util/concurrent/Callable<TS;>;
0 5 2 generator Lio/reactivex/functions/BiFunction<TS;Lio/reactivex/Emitter<TT;>;TS;>;
0 5 3 disposeState Lio/reactivex/functions/Consumer<-TS;>;
Signature: (Ljava/util/concurrent/Callable<TS;>;Lio/reactivex/functions/BiFunction<TS;Lio/reactivex/Emitter<TT;>;TS;>;Lio/reactivex/functions/Consumer<-TS;>;)V
MethodParameters:
Name Flags
stateSupplier
generator
disposeState
public void subscribeActual(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate.stateSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
astore 2
start local 2 1: goto 6
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
4: aload 3
aload 1
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/Observer;)V
5: return
end local 3 start local 2 6: StackMap locals: java.lang.Object
StackMap stack:
new io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable
dup
aload 1
aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate.generator:Lio/reactivex/functions/BiFunction;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableGenerate.disposeState:Lio/reactivex/functions/Consumer;
aload 2
invokespecial io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.<init>:(Lio/reactivex/Observer;Lio/reactivex/functions/BiFunction;Lio/reactivex/functions/Consumer;Ljava/lang/Object;)V
astore 3
start local 3 7: aload 1
aload 3
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
8: aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable.run:()V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/observable/ObservableGenerate<TT;TS;>;
0 10 1 observer Lio/reactivex/Observer<-TT;>;
1 2 2 state TS;
6 10 2 state TS;
3 6 3 e Ljava/lang/Throwable;
7 10 3 gd Lio/reactivex/internal/operators/observable/ObservableGenerate$GeneratorDisposable<TT;TS;>;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
observer
}
Signature: <T:Ljava/lang/Object;S:Ljava/lang/Object;>Lio/reactivex/Observable<TT;>;
SourceFile: "ObservableGenerate.java"
NestMembers:
io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable
InnerClasses:
final GeneratorDisposable = io.reactivex.internal.operators.observable.ObservableGenerate$GeneratorDisposable of io.reactivex.internal.operators.observable.ObservableGenerate