OperatorDebounceWithSelector.smali
.class public final Lrx/internal/operators/OperatorDebounceWithSelector;
.super Ljava/lang/Object;
.source "OperatorDebounceWithSelector.java"
# interfaces
.implements Lrx/Observable$Operator;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/Observable$Operator<",
"TT;TT;>;"
}
.end annotation
# instance fields
.field final selector:Lrx/functions/Func1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/functions/Func1<",
"-TT;+",
"Lrx/Observable<",
"TU;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lrx/functions/Func1;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/functions/Func1<",
"-TT;+",
"Lrx/Observable<",
"TU;>;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lrx/internal/operators/OperatorDebounceWithSelector;->selector:Lrx/functions/Func1;
return-void
.end method
# virtual methods
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.registers 2
.line 1
check-cast p1, Lrx/Subscriber;
invoke-virtual {p0, p1}, Lrx/internal/operators/OperatorDebounceWithSelector;->call(Lrx/Subscriber;)Lrx/Subscriber;
move-result-object p1
return-object p1
.end method
.method public call(Lrx/Subscriber;)Lrx/Subscriber;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-TT;>;)",
"Lrx/Subscriber<",
"-TT;>;"
}
.end annotation
.line 2
new-instance v0, Lrx/observers/SerializedSubscriber;
invoke-direct {v0, p1}, Lrx/observers/SerializedSubscriber;-><init>(Lrx/Subscriber;)V
.line 3
new-instance v1, Lrx/subscriptions/SerialSubscription;
invoke-direct {v1}, Lrx/subscriptions/SerialSubscription;-><init>()V
.line 4
invoke-virtual {p1, v1}, Lrx/Subscriber;->add(Lrx/Subscription;)V
.line 5
new-instance v2, Lrx/internal/operators/OperatorDebounceWithSelector$1;
invoke-direct {v2, p0, p1, v0, v1}, Lrx/internal/operators/OperatorDebounceWithSelector$1;-><init>(Lrx/internal/operators/OperatorDebounceWithSelector;Lrx/Subscriber;Lrx/observers/SerializedSubscriber;Lrx/subscriptions/SerialSubscription;)V
return-object v2
.end method