BaseDaoImpl$2.smali
.class Lcom/j256/ormlite/dao/BaseDaoImpl$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/j256/ormlite/dao/BaseDaoImpl;->create(Ljava/util/Collection;)I
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/j256/ormlite/dao/BaseDaoImpl;
.field public final synthetic val$connection:Lcom/j256/ormlite/support/DatabaseConnection;
.field public final synthetic val$datas:Ljava/util/Collection;
# direct methods
.method public constructor <init>(Lcom/j256/ormlite/dao/BaseDaoImpl;Ljava/util/Collection;Lcom/j256/ormlite/support/DatabaseConnection;)V
.registers 4
iput-object p1, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$2;->this$0:Lcom/j256/ormlite/dao/BaseDaoImpl;
iput-object p2, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$2;->val$datas:Ljava/util/Collection;
iput-object p3, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$2;->val$connection:Lcom/j256/ormlite/support/DatabaseConnection;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call()Ljava/lang/Integer;
.registers 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/sql/SQLException;
}
.end annotation
.line 2
iget-object v0, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$2;->val$datas:Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v0
const/4 v1, 0x0
:goto_7
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_21
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
.line 3
iget-object v3, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$2;->this$0:Lcom/j256/ormlite/dao/BaseDaoImpl;
iget-object v4, v3, Lcom/j256/ormlite/dao/BaseDaoImpl;->statementExecutor:Lcom/j256/ormlite/stmt/StatementExecutor;
iget-object v5, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$2;->val$connection:Lcom/j256/ormlite/support/DatabaseConnection;
# getter for: Lcom/j256/ormlite/dao/BaseDaoImpl;->objectCache:Lcom/j256/ormlite/dao/ObjectCache;
invoke-static {v3}, Lcom/j256/ormlite/dao/BaseDaoImpl;->access$000(Lcom/j256/ormlite/dao/BaseDaoImpl;)Lcom/j256/ormlite/dao/ObjectCache;
move-result-object v3
invoke-virtual {v4, v5, v2, v3}, Lcom/j256/ormlite/stmt/StatementExecutor;->create(Lcom/j256/ormlite/support/DatabaseConnection;Ljava/lang/Object;Lcom/j256/ormlite/dao/ObjectCache;)I
move-result v2
add-int/2addr v1, v2
goto :goto_7
.line 4
:cond_21
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic call()Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
invoke-virtual {p0}, Lcom/j256/ormlite/dao/BaseDaoImpl$2;->call()Ljava/lang/Integer;
move-result-object v0
return-object v0
.end method