final class io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator<T> extends io.reactivex.observers.DisposableObserver<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.observable.BlockingObservableLatest$BlockingObservableLatestIterator
super_class: io.reactivex.observers.DisposableObserver
{
io.reactivex.Notification<T> iteratorNotification;
descriptor: Lio/reactivex/Notification;
flags: (0x0000)
Signature: Lio/reactivex/Notification<TT;>;
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;>;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.reactivex.observers.DisposableObserver.<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.observable.BlockingObservableLatest$BlockingObservableLatestIterator.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.observable.BlockingObservableLatest$BlockingObservableLatestIterator.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/observable/BlockingObservableLatest$BlockingObservableLatestIterator<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.observable.BlockingObservableLatest$BlockingObservableLatestIterator.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.observable.BlockingObservableLatest$BlockingObservableLatestIterator.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/observable/BlockingObservableLatest$BlockingObservableLatestIterator<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/observable/BlockingObservableLatest$BlockingObservableLatestIterator<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/observable/BlockingObservableLatest$BlockingObservableLatestIterator<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.observable.BlockingObservableLatest$BlockingObservableLatestIterator.iteratorNotification:Lio/reactivex/Notification;
ifnull 2
aload 0
getfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.isOnError:()Z
ifeq 2
1: aload 0
getfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.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.observable.BlockingObservableLatest$BlockingObservableLatestIterator.iteratorNotification:Lio/reactivex/Notification;
ifnonnull 14
3: invokestatic io.reactivex.internal.util.BlockingHelper.verifyNonBlocking:()V
4: aload 0
getfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.notify:Ljava/util/concurrent/Semaphore;
invokevirtual java.util.concurrent.Semaphore.acquire:()V
5: goto 10
StackMap locals:
StackMap stack: java.lang.InterruptedException
6: astore 1
start local 1 7: aload 0
invokevirtual io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.dispose:()V
8: aload 0
aload 1
invokestatic io.reactivex.Notification.createOnError:(Ljava/lang/Throwable;)Lio/reactivex/Notification;
putfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.iteratorNotification:Lio/reactivex/Notification;
9: aload 1
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 1 10: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.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 11: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.iteratorNotification:Lio/reactivex/Notification;
12: aload 1
invokevirtual io.reactivex.Notification.isOnError:()Z
ifeq 14
13: 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 14: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.isOnNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/reactivex/internal/operators/observable/BlockingObservableLatest$BlockingObservableLatestIterator<TT;>;
7 10 1 ex Ljava/lang/InterruptedException;
11 14 1 n Lio/reactivex/Notification<TT;>;
Exception table:
from to target type
3 5 6 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.observable.BlockingObservableLatest$BlockingObservableLatestIterator.hasNext:()Z
ifeq 4
1: aload 0
getfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.iteratorNotification:Lio/reactivex/Notification;
invokevirtual io.reactivex.Notification.getValue:()Ljava/lang/Object;
astore 1
start local 1 2: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator.iteratorNotification:Lio/reactivex/Notification;
3: aload 1
areturn
end local 1 4: 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 5 0 this Lio/reactivex/internal/operators/observable/BlockingObservableLatest$BlockingObservableLatestIterator<TT;>;
2 4 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/observable/BlockingObservableLatest$BlockingObservableLatestIterator<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.observable.BlockingObservableLatest$BlockingObservableLatestIterator.onNext:(Lio/reactivex/Notification;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/observers/DisposableObserver<Lio/reactivex/Notification<TT;>;>;Ljava/util/Iterator<TT;>;
SourceFile: "BlockingObservableLatest.java"
NestHost: io.reactivex.internal.operators.observable.BlockingObservableLatest
InnerClasses:
final BlockingObservableLatestIterator = io.reactivex.internal.operators.observable.BlockingObservableLatest$BlockingObservableLatestIterator of io.reactivex.internal.operators.observable.BlockingObservableLatest