final class io.reactivex.internal.operators.observable.ObservableTake$TakeObserver<T> implements io.reactivex.Observer<T>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableTake$TakeObserver
super_class: java.lang.Object
{
final io.reactivex.Observer<? super T> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TT;>;
boolean done;
descriptor: Z
flags: (0x0000)
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
long remaining;
descriptor: J
flags: (0x0000)
void <init>(io.reactivex.Observer<? super T>, );
descriptor: (Lio/reactivex/Observer;J)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.downstream:Lio/reactivex/Observer;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.remaining:J
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/ObservableTake$TakeObserver<TT;>;
0 4 1 actual Lio/reactivex/Observer<-TT;>;
0 4 2 limit J
Signature: (Lio/reactivex/Observer<-TT;>;J)V
MethodParameters:
Name Flags
actual
limit
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 8
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.remaining:J
lconst_0
lcmp
ifne 7
3: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.done:Z
4: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.downstream:Lio/reactivex/Observer;
invokestatic io.reactivex.internal.disposables.EmptyDisposable.complete:(Lio/reactivex/Observer;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.downstream:Lio/reactivex/Observer;
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/observable/ObservableTake$TakeObserver<TT;>;
0 9 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.done:Z
ifne 7
aload 0
dup
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.remaining:J
dup2_x1
lconst_1
lsub
putfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.remaining:J
lconst_0
lcmp
ifle 7
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.remaining:J
lconst_0
lcmp
ifne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
5: iload 2
ifeq 7
6: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.onComplete:()V
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/observable/ObservableTake$TakeObserver<TT;>;
0 8 1 t TT;
4 7 2 stop Z
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.done:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.done:Z
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/observable/ObservableTake$TakeObserver<TT;>;
0 7 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.done:Z
ifne 4
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.done:Z
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/observable/ObservableTake$TakeObserver<TT;>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTake$TakeObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableTake$TakeObserver<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.ObservableTake$TakeObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.isDisposed:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableTake$TakeObserver<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableTake.java"
NestHost: io.reactivex.internal.operators.observable.ObservableTake
InnerClasses:
final TakeObserver = io.reactivex.internal.operators.observable.ObservableTake$TakeObserver of io.reactivex.internal.operators.observable.ObservableTake