final class io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber<T, K> extends io.reactivex.internal.subscribers.BasicFuseableSubscriber<T, T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber
super_class: io.reactivex.internal.subscribers.BasicFuseableSubscriber
{
final java.util.Collection<? super K> collection;
descriptor: Ljava/util/Collection;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Collection<-TK;>;
final io.reactivex.functions.Function<? super T, K> keySelector;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TT;TK;>;
void <init>(org.reactivestreams.Subscriber<? super T>, io.reactivex.functions.Function<? super T, K>, java.util.Collection<? super K>);
descriptor: (Lorg/reactivestreams/Subscriber;Lio/reactivex/functions/Function;Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial io.reactivex.internal.subscribers.BasicFuseableSubscriber.<init>:(Lorg/reactivestreams/Subscriber;)V
1: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.keySelector:Lio/reactivex/functions/Function;
2: aload 0
aload 3
putfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.collection:Ljava/util/Collection;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowableDistinct$DistinctSubscriber<TT;TK;>;
0 4 1 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 4 2 keySelector Lio/reactivex/functions/Function<-TT;TK;>;
0 4 3 collection Ljava/util/Collection<-TK;>;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;Lio/reactivex/functions/Function<-TT;TK;>;Ljava/util/Collection<-TK;>;)V
MethodParameters:
Name Flags
actual
keySelector
collection
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.sourceMode:I
ifne 14
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.keySelector:Lio/reactivex/functions/Function;
aload 1
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
ldc "The keySelector returned a null key"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.collection:Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
istore 3
start local 3 5: goto 9
end local 3 end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 4
start local 4 7: aload 0
aload 4
invokevirtual io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.fail:(Ljava/lang/Throwable;)V
8: return
end local 4 start local 2 start local 3 9: StackMap locals: java.lang.Object int
StackMap stack:
iload 3
ifeq 12
10: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
11: goto 15
12: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.upstream:Lorg/reactivestreams/Subscription;
lconst_1
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 3 end local 2 13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aconst_null
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/reactivex/internal/operators/flowable/FlowableDistinct$DistinctSubscriber<TT;TK;>;
0 16 1 value TT;
4 6 2 key TK;
9 13 2 key TK;
5 6 3 b Z
9 13 3 b Z
7 9 4 ex Ljava/lang/Throwable;
Exception table:
from to target type
3 5 6 Class java.lang.Throwable
Signature: (TT;)V
MethodParameters:
Name Flags
value
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.flowable.FlowableDistinct$DistinctSubscriber.done:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.done:Z
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.clear:()V
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/flowable/FlowableDistinct$DistinctSubscriber<TT;TK;>;
0 7 1 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
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.flowable.FlowableDistinct$DistinctSubscriber.done:Z
ifne 4
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.done:Z
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.clear:()V
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.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/flowable/FlowableDistinct$DistinctSubscriber<TT;TK;>;
public int requestFusion(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.transitiveBoundaryFusion:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/FlowableDistinct$DistinctSubscriber<TT;TK;>;
0 1 1 mode I
MethodParameters:
Name Flags
mode
public T poll();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.qs:Lio/reactivex/internal/fuseable/QueueSubscription;
invokeinterface io.reactivex.internal.fuseable.QueueSubscription.poll:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 2
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.collection:Ljava/util/Collection;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.keySelector:Lio/reactivex/functions/Function;
aload 1
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
ldc "The keySelector returned a null key"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.sourceMode:I
iconst_2
if_icmpne 0
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber.upstream:Lorg/reactivestreams/Subscription;
lconst_1
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 1 5: goto 0
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/FlowableDistinct$DistinctSubscriber<TT;TK;>;
1 5 1 v TT;
Exceptions:
throws java.lang.Exception
Signature: ()TT;
RuntimeInvisibleAnnotations:
io.reactivex.annotations.Nullable()
public void clear();
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.flowable.FlowableDistinct$DistinctSubscriber.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.clear:()V
1: aload 0
invokespecial io.reactivex.internal.subscribers.BasicFuseableSubscriber.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableDistinct$DistinctSubscriber<TT;TK;>;
}
Signature: <T:Ljava/lang/Object;K:Ljava/lang/Object;>Lio/reactivex/internal/subscribers/BasicFuseableSubscriber<TT;TT;>;
SourceFile: "FlowableDistinct.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableDistinct
InnerClasses:
final DistinctSubscriber = io.reactivex.internal.operators.flowable.FlowableDistinct$DistinctSubscriber of io.reactivex.internal.operators.flowable.FlowableDistinct