130 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			130 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public final Lio/reactivex/internal/operators/observable/ObservableBuffer;
 | |
| .super Lio/reactivex/internal/operators/observable/a;
 | |
| .source "ObservableBuffer.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferSkipObserver;,
 | |
|         Lio/reactivex/internal/operators/observable/ObservableBuffer$a;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/Signature;
 | |
|     value = {
 | |
|         "<T:",
 | |
|         "Ljava/lang/Object;",
 | |
|         "U::",
 | |
|         "Ljava/util/Collection<",
 | |
|         "-TT;>;>",
 | |
|         "Lio/reactivex/internal/operators/observable/a<",
 | |
|         "TT;TU;>;"
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final b:I
 | |
| 
 | |
| .field public final c:I
 | |
| 
 | |
| .field public final d:Ljava/util/concurrent/Callable;
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/concurrent/Callable<",
 | |
|             "TU;>;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Lkh/e0;IILjava/util/concurrent/Callable;)V
 | |
|     .locals 0
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lkh/e0<",
 | |
|             "TT;>;II",
 | |
|             "Ljava/util/concurrent/Callable<",
 | |
|             "TU;>;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0, p1}, Lio/reactivex/internal/operators/observable/a;-><init>(Lkh/e0;)V
 | |
| 
 | |
|     .line 2
 | |
|     iput p2, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->b:I
 | |
| 
 | |
|     .line 3
 | |
|     iput p3, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->c:I
 | |
| 
 | |
|     .line 4
 | |
|     iput-object p4, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->d:Ljava/util/concurrent/Callable;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public subscribeActual(Lkh/g0;)V
 | |
|     .locals 5
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Lkh/g0<",
 | |
|             "-TU;>;)V"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->c:I
 | |
| 
 | |
|     iget v1, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->b:I
 | |
| 
 | |
|     if-ne v0, v1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Lio/reactivex/internal/operators/observable/ObservableBuffer$a;
 | |
| 
 | |
|     iget-object v2, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->d:Ljava/util/concurrent/Callable;
 | |
| 
 | |
|     invoke-direct {v0, p1, v1, v2}, Lio/reactivex/internal/operators/observable/ObservableBuffer$a;-><init>(Lkh/g0;ILjava/util/concurrent/Callable;)V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0}, Lio/reactivex/internal/operators/observable/ObservableBuffer$a;->a()Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object p1, p0, Lio/reactivex/internal/operators/observable/a;->a:Lkh/e0;
 | |
| 
 | |
|     invoke-interface {p1, v0}, Lkh/e0;->subscribe(Lkh/g0;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lio/reactivex/internal/operators/observable/a;->a:Lkh/e0;
 | |
| 
 | |
|     new-instance v1, Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferSkipObserver;
 | |
| 
 | |
|     iget v2, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->b:I
 | |
| 
 | |
|     iget v3, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->c:I
 | |
| 
 | |
|     iget-object v4, p0, Lio/reactivex/internal/operators/observable/ObservableBuffer;->d:Ljava/util/concurrent/Callable;
 | |
| 
 | |
|     invoke-direct {v1, p1, v2, v3, v4}, Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferSkipObserver;-><init>(Lkh/g0;IILjava/util/concurrent/Callable;)V
 | |
| 
 | |
|     invoke-interface {v0, v1}, Lkh/e0;->subscribe(Lkh/g0;)V
 | |
| 
 | |
|     :cond_1
 | |
|     :goto_0
 | |
|     return-void
 | |
| .end method
 |