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.
124 lines
2.9 KiB
124 lines
2.9 KiB
.class Lcom/google/common/base/Splitter$2$1; |
|
.super Lcom/google/common/base/Splitter$SplittingIterator; |
|
.source "Splitter.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/google/common/base/Splitter$2;->iterator(Lcom/google/common/base/Splitter;Ljava/lang/CharSequence;)Lcom/google/common/base/Splitter$SplittingIterator; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/google/common/base/Splitter$2; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/google/common/base/Splitter$2;Lcom/google/common/base/Splitter;Ljava/lang/CharSequence;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 177 |
|
iput-object p1, p0, Lcom/google/common/base/Splitter$2$1;->this$0:Lcom/google/common/base/Splitter$2; |
|
|
|
invoke-direct {p0, p2, p3}, Lcom/google/common/base/Splitter$SplittingIterator;-><init>(Lcom/google/common/base/Splitter;Ljava/lang/CharSequence;)V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public separatorEnd(I)I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 195 |
|
iget-object v0, p0, Lcom/google/common/base/Splitter$2$1;->this$0:Lcom/google/common/base/Splitter$2; |
|
|
|
iget-object v0, v0, Lcom/google/common/base/Splitter$2;->val$separator:Ljava/lang/String; |
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I |
|
|
|
move-result v0 |
|
|
|
add-int/2addr v0, p1 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public separatorStart(I)I |
|
.locals 6 |
|
|
|
.prologue |
|
.line 179 |
|
iget-object v0, p0, Lcom/google/common/base/Splitter$2$1;->this$0:Lcom/google/common/base/Splitter$2; |
|
|
|
iget-object v0, v0, Lcom/google/common/base/Splitter$2;->val$separator:Ljava/lang/String; |
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I |
|
|
|
move-result v2 |
|
|
|
.line 182 |
|
iget-object v0, p0, Lcom/google/common/base/Splitter$2$1;->toSplit:Ljava/lang/CharSequence; |
|
|
|
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I |
|
|
|
move-result v0 |
|
|
|
sub-int v3, v0, v2 |
|
|
|
move v0, p1 |
|
|
|
.line 183 |
|
:goto_0 |
|
if-gt v0, v3, :cond_1 |
|
|
|
.line 184 |
|
const/4 v1, 0x0 |
|
|
|
:goto_1 |
|
if-ge v1, v2, :cond_2 |
|
|
|
.line 185 |
|
iget-object v4, p0, Lcom/google/common/base/Splitter$2$1;->toSplit:Ljava/lang/CharSequence; |
|
|
|
add-int v5, v1, v0 |
|
|
|
invoke-interface {v4, v5}, Ljava/lang/CharSequence;->charAt(I)C |
|
|
|
move-result v4 |
|
|
|
iget-object v5, p0, Lcom/google/common/base/Splitter$2$1;->this$0:Lcom/google/common/base/Splitter$2; |
|
|
|
iget-object v5, v5, Lcom/google/common/base/Splitter$2;->val$separator:Ljava/lang/String; |
|
|
|
invoke-virtual {v5, v1}, Ljava/lang/String;->charAt(I)C |
|
|
|
move-result v5 |
|
|
|
if-eq v4, v5, :cond_0 |
|
|
|
.line 183 |
|
add-int/lit8 v0, v0, 0x1 |
|
|
|
goto :goto_0 |
|
|
|
.line 184 |
|
:cond_0 |
|
add-int/lit8 v1, v1, 0x1 |
|
|
|
goto :goto_1 |
|
|
|
.line 191 |
|
:cond_1 |
|
const/4 v0, -0x1 |
|
|
|
:cond_2 |
|
return v0 |
|
.end method
|
|
|