final class io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver<T, K> extends io.reactivex.internal.observers.BasicFuseableObserver<T, T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver
super_class: io.reactivex.internal.observers.BasicFuseableObserver
{
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>(io.reactivex.Observer<? super T>, io.reactivex.functions.Function<? super T, K>, java.util.Collection<? super K>);
descriptor: (Lio/reactivex/Observer;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.observers.BasicFuseableObserver.<init>:(Lio/reactivex/Observer;)V
1: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.keySelector:Lio/reactivex/functions/Function;
2: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.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/observable/ObservableDistinct$DistinctObserver<TT;TK;>;
0 4 1 actual Lio/reactivex/Observer<-TT;>;
0 4 2 keySelector Lio/reactivex/functions/Function<-TT;TK;>;
0 4 3 collection Ljava/util/Collection<-TK;>;
Signature: (Lio/reactivex/Observer<-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=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.sourceMode:I
ifne 12
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.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.observable.ObservableDistinct$DistinctObserver.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.observable.ObservableDistinct$DistinctObserver.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 13
10: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 3 end local 2 11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.downstream:Lio/reactivex/Observer;
aconst_null
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/operators/observable/ObservableDistinct$DistinctObserver<TT;TK;>;
0 14 1 value TT;
4 6 2 key TK;
9 11 2 key TK;
5 6 3 b Z
9 11 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.observable.ObservableDistinct$DistinctObserver.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.observable.ObservableDistinct$DistinctObserver.done:Z
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.clear:()V
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.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/observable/ObservableDistinct$DistinctObserver<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.observable.ObservableDistinct$DistinctObserver.done:Z
ifne 4
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.done:Z
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.clear:()V
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.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/observable/ObservableDistinct$DistinctObserver<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.observable.ObservableDistinct$DistinctObserver.transitiveBoundaryFusion:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableDistinct$DistinctObserver<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.observable.ObservableDistinct$DistinctObserver.qd:Lio/reactivex/internal/fuseable/QueueDisposable;
invokeinterface io.reactivex.internal.fuseable.QueueDisposable.poll:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 2
aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.collection:Ljava/util/Collection;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver.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 0
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableDistinct$DistinctObserver<TT;TK;>;
1 3 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.observable.ObservableDistinct$DistinctObserver.collection:Ljava/util/Collection;
invokeinterface java.util.Collection.clear:()V
1: aload 0
invokespecial io.reactivex.internal.observers.BasicFuseableObserver.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableDistinct$DistinctObserver<TT;TK;>;
}
Signature: <T:Ljava/lang/Object;K:Ljava/lang/Object;>Lio/reactivex/internal/observers/BasicFuseableObserver<TT;TT;>;
SourceFile: "ObservableDistinct.java"
NestHost: io.reactivex.internal.operators.observable.ObservableDistinct
InnerClasses:
final DistinctObserver = io.reactivex.internal.operators.observable.ObservableDistinct$DistinctObserver of io.reactivex.internal.operators.observable.ObservableDistinct