final class io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver<T, U extends java.util.Collection<? super T>> extends java.util.concurrent.atomic.AtomicBoolean 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.ObservableBuffer$BufferSkipObserver
super_class: java.util.concurrent.atomic.AtomicBoolean
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8223395059921494546
final io.reactivex.Observer<? super U> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TU;>;
final int count;
descriptor: I
flags: (0x0010) ACC_FINAL
final int skip;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.concurrent.Callable<U> bufferSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TU;>;
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
final java.util.ArrayDeque<U> buffers;
descriptor: Ljava/util/ArrayDeque;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/ArrayDeque<TU;>;
long index;
descriptor: J
flags: (0x0000)
void <init>(io.reactivex.Observer<? super U>, int, int, java.util.concurrent.Callable<U>);
descriptor: (Lio/reactivex/Observer;IILjava/util/concurrent/Callable;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.downstream:Lio/reactivex/Observer;
2: aload 0
iload 2
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.count:I
3: aload 0
iload 3
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.skip:I
4: aload 0
aload 4
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.bufferSupplier:Ljava/util/concurrent/Callable;
5: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.buffers:Ljava/util/ArrayDeque;
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferSkipObserver<TT;TU;>;
0 7 1 actual Lio/reactivex/Observer<-TU;>;
0 7 2 count I
0 7 3 skip I
0 7 4 bufferSupplier Ljava/util/concurrent/Callable<TU;>;
Signature: (Lio/reactivex/Observer<-TU;>;IILjava/util/concurrent/Callable<TU;>;)V
MethodParameters:
Name Flags
actual
count
skip
bufferSupplier
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)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.ObservableBuffer$BufferSkipObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 3
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.downstream:Lio/reactivex/Observer;
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferSkipObserver<TT;TU;>;
0 4 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
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.ObservableBuffer$BufferSkipObserver.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/ObservableBuffer$BufferSkipObserver<TT;TU;>;
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.ObservableBuffer$BufferSkipObserver.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/ObservableBuffer$BufferSkipObserver<TT;TU;>;
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.index:J
dup2_x1
lconst_1
ladd
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.index:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.skip:I
i2l
lrem
lconst_0
lcmp
ifne 9
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.bufferSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
checkcast java.util.Collection
ldc "The bufferSupplier returned a null collection. Null values are generally not allowed in 2.x operators and sources."
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 2: goto 8
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 3
start local 3 4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.buffers:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.clear:()V
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.downstream:Lio/reactivex/Observer;
aload 3
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
7: return
end local 3 start local 2 8: StackMap locals: java.util.Collection
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.buffers:Ljava/util/ArrayDeque;
aload 2
invokevirtual java.util.ArrayDeque.offer:(Ljava/lang/Object;)Z
pop
end local 2 9: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.buffers:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.iterator:()Ljava/util/Iterator;
astore 2
start local 2 10: goto 16
11: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Collection
astore 3
start local 3 12: aload 3
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
13: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.count:I
aload 3
invokeinterface java.util.Collection.size:()I
if_icmpgt 16
14: aload 2
invokeinterface java.util.Iterator.remove:()V
15: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.downstream:Lio/reactivex/Observer;
aload 3
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 3 16: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
17: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferSkipObserver<TT;TU;>;
0 18 1 t TT;
2 3 2 b TU;
8 9 2 b TU;
4 8 3 e Ljava/lang/Throwable;
10 18 2 it Ljava/util/Iterator<TU;>;
12 16 3 b TU;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
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.ObservableBuffer$BufferSkipObserver.buffers:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.clear:()V
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferSkipObserver<TT;TU;>;
0 3 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: goto 2
1: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.downstream:Lio/reactivex/Observer;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.buffers:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.buffers:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.isEmpty:()Z
ifeq 1
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferSkipObserver<TT;TU;>;
}
Signature: <T:Ljava/lang/Object;U::Ljava/util/Collection<-TT;>;>Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableBuffer.java"
NestHost: io.reactivex.internal.operators.observable.ObservableBuffer
InnerClasses:
final BufferSkipObserver = io.reactivex.internal.operators.observable.ObservableBuffer$BufferSkipObserver of io.reactivex.internal.operators.observable.ObservableBuffer