c.smali
.class public Lcom/bumptech/glide/q/c;
.super Ljava/lang/Object;
.source ""
# static fields
.field private static final c:Lcom/bumptech/glide/load/n/t;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/load/n/t<",
"***>;"
}
.end annotation
.end field
# instance fields
.field private final a:Le/e/a;
.annotation system Ldalvik/annotation/Signature;
value = {
"Le/e/a<",
"Lcom/bumptech/glide/t/i;",
"Lcom/bumptech/glide/load/n/t<",
"***>;>;"
}
.end annotation
.end field
.field private final b:Ljava/util/concurrent/atomic/AtomicReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lcom/bumptech/glide/t/i;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 14
new-instance v6, Lcom/bumptech/glide/load/n/t;
const-class v1, Ljava/lang/Object;
const-class v2, Ljava/lang/Object;
const-class v3, Ljava/lang/Object;
new-instance v0, Lcom/bumptech/glide/load/n/i;
const-class v8, Ljava/lang/Object;
const-class v9, Ljava/lang/Object;
const-class v10, Ljava/lang/Object;
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object v11
new-instance v12, Lcom/bumptech/glide/load/p/i/g;
invoke-direct {v12}, Lcom/bumptech/glide/load/p/i/g;-><init>()V
const/4 v13, 0x0
move-object v7, v0
invoke-direct/range {v7 .. v13}, Lcom/bumptech/glide/load/n/i;-><init>(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/util/List;Lcom/bumptech/glide/load/p/i/e;Le/h/n/e;)V
invoke-static {v0}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
move-result-object v4
const/4 v5, 0x0
move-object v0, v6
invoke-direct/range {v0 .. v5}, Lcom/bumptech/glide/load/n/t;-><init>(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Ljava/util/List;Le/h/n/e;)V
sput-object v6, Lcom/bumptech/glide/q/c;->c:Lcom/bumptech/glide/load/n/t;
return-void
.end method
.method public constructor <init>()V
.registers 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Le/e/a;
invoke-direct {v0}, Le/e/a;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/q/c;->a:Le/e/a;
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
iput-object v0, p0, Lcom/bumptech/glide/q/c;->b:Ljava/util/concurrent/atomic/AtomicReference;
return-void
.end method
.method private b(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Lcom/bumptech/glide/t/i;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Class<",
"*>;)",
"Lcom/bumptech/glide/t/i;"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/q/c;->b:Ljava/util/concurrent/atomic/AtomicReference;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/t/i;
if-nez v0, :cond_10
new-instance v0, Lcom/bumptech/glide/t/i;
invoke-direct {v0}, Lcom/bumptech/glide/t/i;-><init>()V
:cond_10
invoke-virtual {v0, p1, p2, p3}, Lcom/bumptech/glide/t/i;->a(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)V
return-object v0
.end method
# virtual methods
.method public a(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Lcom/bumptech/glide/load/n/t;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<Data:",
"Ljava/lang/Object;",
"TResource:",
"Ljava/lang/Object;",
"Transcode:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TData;>;",
"Ljava/lang/Class<",
"TTResource;>;",
"Ljava/lang/Class<",
"TTranscode;>;)",
"Lcom/bumptech/glide/load/n/t<",
"TData;TTResource;TTranscode;>;"
}
.end annotation
invoke-direct {p0, p1, p2, p3}, Lcom/bumptech/glide/q/c;->b(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)Lcom/bumptech/glide/t/i;
move-result-object p1
iget-object p2, p0, Lcom/bumptech/glide/q/c;->a:Le/e/a;
monitor-enter p2
:try_start_7
iget-object p3, p0, Lcom/bumptech/glide/q/c;->a:Le/e/a;
invoke-virtual {p3, p1}, Le/e/g;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p3
check-cast p3, Lcom/bumptech/glide/load/n/t;
monitor-exit p2
:try_end_10
.catchall {:try_start_7 .. :try_end_10} :catchall_16
iget-object p2, p0, Lcom/bumptech/glide/q/c;->b:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {p2, p1}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
return-object p3
:catchall_16
move-exception p1
:try_start_17
monitor-exit p2
:try_end_18
.catchall {:try_start_17 .. :try_end_18} :catchall_16
throw p1
.end method
.method public c(Lcom/bumptech/glide/load/n/t;)Z
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/load/n/t<",
"***>;)Z"
}
.end annotation
sget-object v0, Lcom/bumptech/glide/q/c;->c:Lcom/bumptech/glide/load/n/t;
invoke-virtual {v0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public d(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;Lcom/bumptech/glide/load/n/t;)V
.registers 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Class<",
"*>;",
"Lcom/bumptech/glide/load/n/t<",
"***>;)V"
}
.end annotation
iget-object v0, p0, Lcom/bumptech/glide/q/c;->a:Le/e/a;
monitor-enter v0
:try_start_3
iget-object v1, p0, Lcom/bumptech/glide/q/c;->a:Le/e/a;
new-instance v2, Lcom/bumptech/glide/t/i;
invoke-direct {v2, p1, p2, p3}, Lcom/bumptech/glide/t/i;-><init>(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)V
if-eqz p4, :cond_d
goto :goto_f
:cond_d
sget-object p4, Lcom/bumptech/glide/q/c;->c:Lcom/bumptech/glide/load/n/t;
:goto_f
invoke-virtual {v1, v2, p4}, Le/e/g;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
monitor-exit v0
return-void
:catchall_14
move-exception p1
monitor-exit v0
:try_end_16
.catchall {:try_start_3 .. :try_end_16} :catchall_14
throw p1
.end method