g$c.smali

.class public final Lokhttp3/internal/cache/g$c;
.super Ljava/lang/Object;
.source "DiskLruCache.java"

# interfaces
.implements Ljava/io/Closeable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lokhttp3/internal/cache/g;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x11
    name = "c"
.end annotation


# instance fields
.field private final a:Ljava/lang/String;

.field private final b:J

.field private final c:[Lokio/Source;

.field private final d:[J

.field final synthetic e:Lokhttp3/internal/cache/g;


# direct methods
.method constructor <init>(Lokhttp3/internal/cache/g;Ljava/lang/String;J[Lokio/Source;[J)V
    .registers 7

    .line 1
    iput-object p1, p0, Lokhttp3/internal/cache/g$c;->e:Lokhttp3/internal/cache/g;

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

    .line 2
    iput-object p2, p0, Lokhttp3/internal/cache/g$c;->a:Ljava/lang/String;

    .line 3
    iput-wide p3, p0, Lokhttp3/internal/cache/g$c;->b:J

    .line 4
    iput-object p5, p0, Lokhttp3/internal/cache/g$c;->c:[Lokio/Source;

    .line 5
    iput-object p6, p0, Lokhttp3/internal/cache/g$c;->d:[J

    return-void
.end method


# virtual methods
.method public a(I)Lokio/Source;
    .registers 3

    .line 1
    iget-object v0, p0, Lokhttp3/internal/cache/g$c;->c:[Lokio/Source;

    aget-object p1, v0, p1

    return-object p1
.end method

.method public b()Lokhttp3/internal/cache/g$a;
    .registers 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lokhttp3/internal/cache/g$c;->e:Lokhttp3/internal/cache/g;

    iget-object v1, p0, Lokhttp3/internal/cache/g$c;->a:Ljava/lang/String;

    iget-wide v2, p0, Lokhttp3/internal/cache/g$c;->b:J

    invoke-virtual {v0, v1, v2, v3}, Lokhttp3/internal/cache/g;->a(Ljava/lang/String;J)Lokhttp3/internal/cache/g$a;

    move-result-object v0

    return-object v0
.end method

.method public close()V
    .registers 5

    .line 1
    iget-object v0, p0, Lokhttp3/internal/cache/g$c;->c:[Lokio/Source;

    array-length v1, v0

    const/4 v2, 0x0

    :goto_4
    if-ge v2, v1, :cond_e

    aget-object v3, v0, v2

    .line 2
    invoke-static {v3}, Lokhttp3/a/e;->a(Ljava/io/Closeable;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_4

    :cond_e
    return-void
.end method