今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

138 lines
3.7 KiB

.class final Lcom/google/common/io/BaseEncoding$4;
.super Ljava/lang/Object;
.source "BaseEncoding.java"
# interfaces
.implements Lcom/google/common/io/GwtWorkarounds$CharOutput;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/google/common/io/BaseEncoding;->separatingOutput(Lcom/google/common/io/GwtWorkarounds$CharOutput;Ljava/lang/String;I)Lcom/google/common/io/GwtWorkarounds$CharOutput;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field charsUntilSeparator:I
.field final synthetic val$afterEveryChars:I
.field final synthetic val$delegate:Lcom/google/common/io/GwtWorkarounds$CharOutput;
.field final synthetic val$separator:Ljava/lang/String;
# direct methods
.method constructor <init>(ILjava/lang/String;Lcom/google/common/io/GwtWorkarounds$CharOutput;)V
.locals 1
.prologue
.line 781
iput p1, p0, Lcom/google/common/io/BaseEncoding$4;->val$afterEveryChars:I
iput-object p2, p0, Lcom/google/common/io/BaseEncoding$4;->val$separator:Ljava/lang/String;
iput-object p3, p0, Lcom/google/common/io/BaseEncoding$4;->val$delegate:Lcom/google/common/io/GwtWorkarounds$CharOutput;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 782
iget v0, p0, Lcom/google/common/io/BaseEncoding$4;->val$afterEveryChars:I
iput v0, p0, Lcom/google/common/io/BaseEncoding$4;->charsUntilSeparator:I
return-void
.end method
# virtual methods
.method public close()V
.locals 1
.prologue
.line 803
iget-object v0, p0, Lcom/google/common/io/BaseEncoding$4;->val$delegate:Lcom/google/common/io/GwtWorkarounds$CharOutput;
invoke-interface {v0}, Lcom/google/common/io/GwtWorkarounds$CharOutput;->close()V
.line 804
return-void
.end method
.method public flush()V
.locals 1
.prologue
.line 798
iget-object v0, p0, Lcom/google/common/io/BaseEncoding$4;->val$delegate:Lcom/google/common/io/GwtWorkarounds$CharOutput;
invoke-interface {v0}, Lcom/google/common/io/GwtWorkarounds$CharOutput;->flush()V
.line 799
return-void
.end method
.method public write(C)V
.locals 3
.prologue
.line 786
iget v0, p0, Lcom/google/common/io/BaseEncoding$4;->charsUntilSeparator:I
if-nez v0, :cond_1
.line 787
const/4 v0, 0x0
:goto_0
iget-object v1, p0, Lcom/google/common/io/BaseEncoding$4;->val$separator:Ljava/lang/String;
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v1
if-ge v0, v1, :cond_0
.line 788
iget-object v1, p0, Lcom/google/common/io/BaseEncoding$4;->val$delegate:Lcom/google/common/io/GwtWorkarounds$CharOutput;
iget-object v2, p0, Lcom/google/common/io/BaseEncoding$4;->val$separator:Ljava/lang/String;
invoke-virtual {v2, v0}, Ljava/lang/String;->charAt(I)C
move-result v2
invoke-interface {v1, v2}, Lcom/google/common/io/GwtWorkarounds$CharOutput;->write(C)V
.line 787
add-int/lit8 v0, v0, 0x1
goto :goto_0
.line 790
:cond_0
iget v0, p0, Lcom/google/common/io/BaseEncoding$4;->val$afterEveryChars:I
iput v0, p0, Lcom/google/common/io/BaseEncoding$4;->charsUntilSeparator:I
.line 792
:cond_1
iget-object v0, p0, Lcom/google/common/io/BaseEncoding$4;->val$delegate:Lcom/google/common/io/GwtWorkarounds$CharOutput;
invoke-interface {v0, p1}, Lcom/google/common/io/GwtWorkarounds$CharOutput;->write(C)V
.line 793
iget v0, p0, Lcom/google/common/io/BaseEncoding$4;->charsUntilSeparator:I
add-int/lit8 v0, v0, -0x1
iput v0, p0, Lcom/google/common/io/BaseEncoding$4;->charsUntilSeparator:I
.line 794
return-void
.end method