f.smali

.class final Lio/reactivex/internal/operators/observable/f;
.super Ljava/lang/Object;
.source "BlockingObservableMostRecent.java"

# interfaces
.implements Ljava/util/Iterator;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Iterator",
        "<TT;>;"
    }
.end annotation


# instance fields
.field private bPb:Ljava/lang/Object;

.field private synthetic bPc:Lio/reactivex/internal/operators/observable/e;


# direct methods
.method constructor <init>(Lio/reactivex/internal/operators/observable/e;)V
    .registers 2

    .prologue
    .line 86
    iput-object p1, p0, Lio/reactivex/internal/operators/observable/f;->bPc:Lio/reactivex/internal/operators/observable/e;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final hasNext()Z
    .registers 2

    .prologue
    .line 94
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPc:Lio/reactivex/internal/operators/observable/e;

    iget-object v0, v0, Lio/reactivex/internal/operators/observable/e;->value:Ljava/lang/Object;

    iput-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    .line 95
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    invoke-static {v0}, Lio/reactivex/internal/util/NotificationLite;->isComplete(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_10

    const/4 v0, 0x1

    :goto_f
    return v0

    :cond_10
    const/4 v0, 0x0

    goto :goto_f
.end method

.method public final next()Ljava/lang/Object;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    .prologue
    const/4 v1, 0x0

    .line 102
    :try_start_1
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    if-nez v0, :cond_b

    .line 103
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPc:Lio/reactivex/internal/operators/observable/e;

    iget-object v0, v0, Lio/reactivex/internal/operators/observable/e;->value:Ljava/lang/Object;

    iput-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    .line 105
    :cond_b
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    invoke-static {v0}, Lio/reactivex/internal/util/NotificationLite;->isComplete(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1d

    .line 106
    new-instance v0, Ljava/util/NoSuchElementException;

    invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V

    throw v0
    :try_end_19
    .catchall {:try_start_1 .. :try_end_19} :catchall_19

    .line 114
    :catchall_19
    move-exception v0

    iput-object v1, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    throw v0

    .line 108
    :cond_1d
    :try_start_1d
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    invoke-static {v0}, Lio/reactivex/internal/util/NotificationLite;->isError(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_30

    .line 109
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    invoke-static {v0}, Lio/reactivex/internal/util/NotificationLite;->getError(Ljava/lang/Object;)Ljava/lang/Throwable;

    move-result-object v0

    invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->l(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;

    move-result-object v0

    throw v0

    .line 111
    :cond_30
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    invoke-static {v0}, Lio/reactivex/internal/util/NotificationLite;->getValue(Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_35
    .catchall {:try_start_1d .. :try_end_35} :catchall_19

    move-result-object v0

    .line 114
    iput-object v1, p0, Lio/reactivex/internal/operators/observable/f;->bPb:Ljava/lang/Object;

    .line 111
    return-object v0
.end method

.method public final remove()V
    .registers 3

    .prologue
    .line 120
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "Read only iterator"

    invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw v0
.end method