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.
103 lines
2.3 KiB
103 lines
2.3 KiB
.class Lcom/google/common/base/CharMatcher$BitSetMatcher; |
|
.super Lcom/google/common/base/CharMatcher$FastMatcher; |
|
.source "CharMatcher.java" |
|
|
|
|
|
# annotations |
|
.annotation build Lcom/google/common/annotations/GwtIncompatible; |
|
value = "java.util.BitSet" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/common/base/CharMatcher; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0xa |
|
name = "BitSetMatcher" |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field private final table:Ljava/util/BitSet; |
|
|
|
|
|
# direct methods |
|
.method private constructor <init>(Ljava/util/BitSet;Ljava/lang/String;)V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 889 |
|
invoke-direct {p0, p2}, Lcom/google/common/base/CharMatcher$FastMatcher;-><init>(Ljava/lang/String;)V |
|
|
|
.line 890 |
|
invoke-virtual {p1}, Ljava/util/BitSet;->length()I |
|
|
|
move-result v0 |
|
|
|
add-int/lit8 v0, v0, 0x40 |
|
|
|
invoke-virtual {p1}, Ljava/util/BitSet;->size()I |
|
|
|
move-result v1 |
|
|
|
if-ge v0, v1, :cond_0 |
|
|
|
.line 891 |
|
invoke-virtual {p1}, Ljava/util/BitSet;->clone()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/util/BitSet; |
|
|
|
.line 894 |
|
:goto_0 |
|
iput-object v0, p0, Lcom/google/common/base/CharMatcher$BitSetMatcher;->table:Ljava/util/BitSet; |
|
|
|
.line 895 |
|
return-void |
|
|
|
:cond_0 |
|
move-object v0, p1 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method synthetic constructor <init>(Ljava/util/BitSet;Ljava/lang/String;Lcom/google/common/base/CharMatcher$1;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 885 |
|
invoke-direct {p0, p1, p2}, Lcom/google/common/base/CharMatcher$BitSetMatcher;-><init>(Ljava/util/BitSet;Ljava/lang/String;)V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public matches(C)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 898 |
|
iget-object v0, p0, Lcom/google/common/base/CharMatcher$BitSetMatcher;->table:Ljava/util/BitSet; |
|
|
|
invoke-virtual {v0, p1}, Ljava/util/BitSet;->get(I)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method setBits(Ljava/util/BitSet;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 903 |
|
iget-object v0, p0, Lcom/google/common/base/CharMatcher$BitSetMatcher;->table:Ljava/util/BitSet; |
|
|
|
invoke-virtual {p1, v0}, Ljava/util/BitSet;->or(Ljava/util/BitSet;)V |
|
|
|
.line 904 |
|
return-void |
|
.end method
|
|
|