ObservableBufferBoundarySupplier.smali
.class public final Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier;
.super Lio/reactivex/internal/operators/observable/AbstractObservableWithUpstream;
.source "ObservableBufferBoundarySupplier.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier$BufferBoundaryObserver;,
Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier$BufferBoundarySupplierObserver;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U::",
"Ljava/util/Collection<",
"-TT;>;B:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/operators/observable/AbstractObservableWithUpstream<",
"TT;TU;>;"
}
.end annotation
# instance fields
.field final boundarySupplier:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"+",
"Lio/reactivex/ObservableSource<",
"TB;>;>;"
}
.end annotation
.end field
.field final bufferSupplier:Ljava/util/concurrent/Callable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Callable<",
"TU;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lio/reactivex/ObservableSource;Ljava/util/concurrent/Callable;Ljava/util/concurrent/Callable;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/ObservableSource<",
"TT;>;",
"Ljava/util/concurrent/Callable<",
"+",
"Lio/reactivex/ObservableSource<",
"TB;>;>;",
"Ljava/util/concurrent/Callable<",
"TU;>;)V"
}
.end annotation
.line 37
.local p0, "this":Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier;, "Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier<TT;TU;TB;>;"
.local p1, "source":Lio/reactivex/ObservableSource;, "Lio/reactivex/ObservableSource<TT;>;"
.local p2, "boundarySupplier":Ljava/util/concurrent/Callable;, "Ljava/util/concurrent/Callable<+Lio/reactivex/ObservableSource<TB;>;>;"
.local p3, "bufferSupplier":Ljava/util/concurrent/Callable;, "Ljava/util/concurrent/Callable<TU;>;"
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/observable/AbstractObservableWithUpstream;-><init>(Lio/reactivex/ObservableSource;)V
.line 38
iput-object p2, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier;->boundarySupplier:Ljava/util/concurrent/Callable;
.line 39
iput-object p3, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier;->bufferSupplier:Ljava/util/concurrent/Callable;
.line 40
return-void
.end method
# virtual methods
.method protected subscribeActual(Lio/reactivex/Observer;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/Observer<",
"-TU;>;)V"
}
.end annotation
.line 44
.local p0, "this":Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier;, "Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier<TT;TU;TB;>;"
.local p1, "t":Lio/reactivex/Observer;, "Lio/reactivex/Observer<-TU;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier;->source:Lio/reactivex/ObservableSource;
new-instance v1, Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier$BufferBoundarySupplierObserver;
new-instance v2, Lio/reactivex/observers/SerializedObserver;
invoke-direct {v2, p1}, Lio/reactivex/observers/SerializedObserver;-><init>(Lio/reactivex/Observer;)V
iget-object v3, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier;->bufferSupplier:Ljava/util/concurrent/Callable;
iget-object v4, p0, Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier;->boundarySupplier:Ljava/util/concurrent/Callable;
invoke-direct {v1, v2, v3, v4}, Lio/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier$BufferBoundarySupplierObserver;-><init>(Lio/reactivex/Observer;Ljava/util/concurrent/Callable;Ljava/util/concurrent/Callable;)V
invoke-interface {v0, v1}, Lio/reactivex/ObservableSource;->subscribe(Lio/reactivex/Observer;)V
.line 45
return-void
.end method