130 lines
3 KiB
Smali
130 lines
3 KiB
Smali
.class public final Lcom/google/zxing/Result;
|
|
.super Ljava/lang/Object;
|
|
.source "Result.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/lang/String;
|
|
|
|
.field public final b:[B
|
|
|
|
.field public c:[Lf/h/f/k;
|
|
|
|
.field public final d:Lf/h/f/a;
|
|
|
|
.field public e:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Lf/h/f/j;",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;[BI[Lf/h/f/k;Lf/h/f/a;J)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/zxing/Result;->a:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/google/zxing/Result;->b:[B
|
|
|
|
iput-object p4, p0, Lcom/google/zxing/Result;->c:[Lf/h/f/k;
|
|
|
|
iput-object p5, p0, Lcom/google/zxing/Result;->d:Lf/h/f/a;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Lcom/google/zxing/Result;->e:Ljava/util/Map;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;[B[Lf/h/f/k;Lf/h/f/a;)V
|
|
.locals 0
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/zxing/Result;->a:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/google/zxing/Result;->b:[B
|
|
|
|
iput-object p3, p0, Lcom/google/zxing/Result;->c:[Lf/h/f/k;
|
|
|
|
iput-object p4, p0, Lcom/google/zxing/Result;->d:Lf/h/f/a;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Lcom/google/zxing/Result;->e:Ljava/util/Map;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/util/Map;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Map<",
|
|
"Lf/h/f/j;",
|
|
"Ljava/lang/Object;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/google/zxing/Result;->e:Ljava/util/Map;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iput-object p1, p0, Lcom/google/zxing/Result;->e:Ljava/util/Map;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-interface {v0, p1}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Lf/h/f/j;Ljava/lang/Object;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/google/zxing/Result;->e:Ljava/util/Map;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Ljava/util/EnumMap;
|
|
|
|
const-class v1, Lf/h/f/j;
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/EnumMap;-><init>(Ljava/lang/Class;)V
|
|
|
|
iput-object v0, p0, Lcom/google/zxing/Result;->e:Ljava/util/Map;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/zxing/Result;->e:Ljava/util/Map;
|
|
|
|
invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/zxing/Result;->a:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|