final class io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator<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.BlockingFlowableNext$NextIterator
super_class: java.lang.Object
{
private final io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextSubscriber<T> subscriber;
descriptor: Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber<TT;>;
private final org.reactivestreams.Publisher<? extends T> items;
descriptor: Lorg/reactivestreams/Publisher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/reactivestreams/Publisher<+TT;>;
private T next;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
private boolean hasNext;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isNextConsumed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
private boolean started;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(org.reactivestreams.Publisher<? extends T>, io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextSubscriber<T>);
descriptor: (Lorg/reactivestreams/Publisher;Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.hasNext:Z
2: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.isNextConsumed:Z
3: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.items:Lorg/reactivestreams/Publisher;
4: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.subscriber:Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber;
5: 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/BlockingFlowableNext$NextIterator<TT;>;
0 6 1 items Lorg/reactivestreams/Publisher<+TT;>;
0 6 2 subscriber Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber<TT;>;
Signature: (Lorg/reactivestreams/Publisher<+TT;>;Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber<TT;>;)V
MethodParameters:
Name Flags
items
subscriber
public boolean hasNext();
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.flowable.BlockingFlowableNext$NextIterator.error:Ljava/lang/Throwable;
ifnull 2
1: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.error: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.BlockingFlowableNext$NextIterator.hasNext:Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.isNextConsumed:Z
ifeq 5
aload 0
invokevirtual io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.moveToNext:()Z
ifne 5
iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextIterator<TT;>;
private boolean moveToNext();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.started:Z
ifne 5
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.started:Z
2: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.subscriber:Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber;
invokevirtual io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextSubscriber.setWaiting:()V
3: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.items:Lorg/reactivestreams/Publisher;
invokestatic io.reactivex.Flowable.fromPublisher:(Lorg/reactivestreams/Publisher;)Lio/reactivex/Flowable;
4: invokevirtual io.reactivex.Flowable.materialize:()Lio/reactivex/Flowable;
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.subscriber:Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber;
invokevirtual io.reactivex.Flowable.subscribe:(Lio/reactivex/FlowableSubscriber;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.subscriber:Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber;
invokevirtual io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextSubscriber.takeNext:()Lio/reactivex/Notification;
astore 1
start local 1 6: aload 1
invokevirtual io.reactivex.Notification.isOnNext:()Z
ifeq 10
7: aload 0
iconst_0
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.isNextConsumed:Z
8: aload 0
aload 1
invokevirtual io.reactivex.Notification.getValue:()Ljava/lang/Object;
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.next:Ljava/lang/Object;
9: iconst_1
ireturn
10: StackMap locals: io.reactivex.Notification
StackMap stack:
aload 0
iconst_0
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.hasNext:Z
11: aload 1
invokevirtual io.reactivex.Notification.isOnComplete:()Z
ifeq 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.reactivex.Notification.isOnError:()Z
ifeq 16
14: aload 0
aload 1
invokevirtual io.reactivex.Notification.getError:()Ljava/lang/Throwable;
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.error:Ljava/lang/Throwable;
15: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.error:Ljava/lang/Throwable;
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
16: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Should not reach here"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 17: StackMap locals: io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator
StackMap stack: java.lang.InterruptedException
astore 1
start local 1 18: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.subscriber:Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextSubscriber;
invokevirtual io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextSubscriber.dispose:()V
19: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.error:Ljava/lang/Throwable;
20: aload 1
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextIterator<TT;>;
6 17 1 nextNotification Lio/reactivex/Notification<TT;>;
18 21 1 e Ljava/lang/InterruptedException;
Exception table:
from to target type
0 9 17 Class java.lang.InterruptedException
10 12 17 Class java.lang.InterruptedException
13 17 17 Class java.lang.InterruptedException
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.error:Ljava/lang/Throwable;
ifnull 2
1: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.error:Ljava/lang/Throwable;
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.hasNext:()Z
ifeq 5
3: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.isNextConsumed:Z
4: aload 0
getfield io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator.next:Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
ldc "No more elements"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/BlockingFlowableNext$NextIterator<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/BlockingFlowableNext$NextIterator<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "BlockingFlowableNext.java"
NestHost: io.reactivex.internal.operators.flowable.BlockingFlowableNext
InnerClasses:
final NextIterator = io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextIterator of io.reactivex.internal.operators.flowable.BlockingFlowableNext
final NextSubscriber = io.reactivex.internal.operators.flowable.BlockingFlowableNext$NextSubscriber of io.reactivex.internal.operators.flowable.BlockingFlowableNext