final class io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator<T> extends io.reactivex.subscribers.DisposableSubscriber<io.reactivex.Notification<T>> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator
super_class: io.reactivex.subscribers.DisposableSubscriber
{
final java.util.concurrent.Semaphore notify;
descriptor: Ljava/util/concurrent/Semaphore;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<io.reactivex.Notification<T>> value;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/Notification<TT;>;>;
io.reactivex.Notification<T> iteratorNotification;
descriptor: Lio/reactivex/Notification;
flags: (0x0000)
Signature: Lio/reactivex/Notification<TT;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.reactivex.subscribers.DisposableSubscriber.<init>:()V
1: aload 0
new java.util.concurrent.Semaphore
dup
iconst_0
invokespecial java.util.concurrent.Semaphore.<init>:(I)V
putfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.notify:Ljava/util/concurrent/Semaphore;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.value:Ljava/util/concurrent/atomic/AtomicReference;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableLatest$LatestSubscriberIterator<TT;>;
public void onNext(io.reactivex.Notification<T>);
descriptor: (Lio/reactivex/Notification;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.value:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: iload 2
ifeq 5
4: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.notify:Ljava/util/concurrent/Semaphore;
invokevirtual java.util.concurrent.Semaphore.release:()V
5: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableLatest$LatestSubscriberIterator<TT;>;
0 6 1 args Lio/reactivex/Notification<TT;>;
3 6 2 wasNotAvailable Z
Signature: (Lio/reactivex/Notification<TT;>;)V
MethodParameters:
Name Flags
args
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableLatest$LatestSubscriberIterator<TT;>;
0 2 1 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableLatest$LatestSubscriberIterator<TT;>;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
ifnull 2
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.isOnError:()Z
ifeq 2
1: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.getError:()Ljava/lang/Throwable;
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
ifnull 3
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.isOnNext:()Z
ifeq 15
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
ifnonnull 15
4: invokestatic io.reactivex.internal.util.BlockingHelper.verifyNonBlocking:()V
5: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.notify:Ljava/util/concurrent/Semaphore;
invokevirtual java.util.concurrent.Semaphore.acquire:()V
6: goto 11
StackMap locals:
StackMap stack: java.lang.InterruptedException
7: astore 1
start local 1 8: aload 0
invokevirtual io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.dispose:()V
9: aload 0
aload 1
invokestatic io.reactivex.Notification.createOnError:(Ljava/lang/Throwable;)Lio/reactivex/Notification;
putfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
10: aload 1
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 1 11: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.value:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.Notification
astore 1
start local 1 12: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
13: aload 1
invokevirtual io.reactivex.Notification.isOnError:()Z
ifeq 15
14: aload 1
invokevirtual io.reactivex.Notification.getError:()Ljava/lang/Throwable;
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 1 15: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.isOnNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableLatest$LatestSubscriberIterator<TT;>;
8 11 1 ex Ljava/lang/InterruptedException;
12 15 1 n Lio/reactivex/Notification<TT;>;
Exception table:
from to target type
4 6 7 Class java.lang.InterruptedException
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.hasNext:()Z
ifeq 5
1: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.isOnNext:()Z
ifeq 5
2: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.getValue:()Ljava/lang/Object;
astore 1
start local 1 3: aload 0
aconst_null
putfield io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.iteratorNotification:Lio/reactivex/Notification;
4: aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableLatest$LatestSubscriberIterator<TT;>;
3 5 1 v TT;
Signature: ()TT;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Read-only iterator."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableLatest$LatestSubscriberIterator<TT;>;
public void onNext(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.reactivex.Notification
invokevirtual io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator.onNext:(Lio/reactivex/Notification;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/subscribers/DisposableSubscriber<Lio/reactivex/Notification<TT;>;>;Ljava/util/Iterator<TT;>;
SourceFile: "BlockingFlowableLatest.java"
NestHost: io.reactivex.internal.operators.flowable.BlockingFlowableLatest
InnerClasses:
final LatestSubscriberIterator = io.reactivex.internal.operators.flowable.BlockingFlowableLatest$LatestSubscriberIterator of io.reactivex.internal.operators.flowable.BlockingFlowableLatest