OperatorWindowWithObservableFactory.smali
.class public final Lrx/internal/operators/OperatorWindowWithObservableFactory;
.super Ljava/lang/Object;
.source "OperatorWindowWithObservableFactory.java"
# interfaces
.implements Lrx/Observable$Operator;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lrx/internal/operators/OperatorWindowWithObservableFactory$BoundarySubscriber;,
Lrx/internal/operators/OperatorWindowWithObservableFactory$SourceSubscriber;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/Observable$Operator<",
"Lrx/Observable<",
"TT;>;TT;>;"
}
.end annotation
# static fields
.field static final NEXT_SUBJECT:Ljava/lang/Object;
# instance fields
.field final otherFactory:Lrx/functions/Func0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/functions/Func0<",
"+",
"Lrx/Observable<",
"+TU;>;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 1
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
sput-object v0, Lrx/internal/operators/OperatorWindowWithObservableFactory;->NEXT_SUBJECT:Ljava/lang/Object;
return-void
.end method
.method public constructor <init>(Lrx/functions/Func0;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/functions/Func0<",
"+",
"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/OperatorWindowWithObservableFactory;->otherFactory:Lrx/functions/Func0;
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/OperatorWindowWithObservableFactory;->call(Lrx/Subscriber;)Lrx/Subscriber;
move-result-object p1
return-object p1
.end method
.method public call(Lrx/Subscriber;)Lrx/Subscriber;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-",
"Lrx/Observable<",
"TT;>;>;)",
"Lrx/Subscriber<",
"-TT;>;"
}
.end annotation
.line 2
new-instance v0, Lrx/internal/operators/OperatorWindowWithObservableFactory$SourceSubscriber;
iget-object v1, p0, Lrx/internal/operators/OperatorWindowWithObservableFactory;->otherFactory:Lrx/functions/Func0;
invoke-direct {v0, p1, v1}, Lrx/internal/operators/OperatorWindowWithObservableFactory$SourceSubscriber;-><init>(Lrx/Subscriber;Lrx/functions/Func0;)V
.line 3
invoke-virtual {p1, v0}, Lrx/Subscriber;->add(Lrx/Subscription;)V
.line 4
invoke-virtual {v0}, Lrx/internal/operators/OperatorWindowWithObservableFactory$SourceSubscriber;->replaceWindow()V
return-object v0
.end method