.class abstract Lcom/google/common/hash/AbstractHasher; .super Ljava/lang/Object; .source "AbstractHasher.java" # interfaces .implements Lcom/google/common/hash/Hasher; # direct methods .method constructor ()V .locals 0 .prologue .line 27 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final putBoolean(Z)Lcom/google/common/hash/Hasher; .locals 1 .prologue .line 29 if-eqz p1, :cond_0 const/4 v0, 0x1 :goto_0 invoke-virtual {p0, v0}, Lcom/google/common/hash/AbstractHasher;->putByte(B)Lcom/google/common/hash/Hasher; move-result-object v0 return-object v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public bridge synthetic putBoolean(Z)Lcom/google/common/hash/PrimitiveSink; .locals 1 .prologue .line 27 invoke-virtual {p0, p1}, Lcom/google/common/hash/AbstractHasher;->putBoolean(Z)Lcom/google/common/hash/Hasher; move-result-object v0 return-object v0 .end method .method public final putDouble(D)Lcom/google/common/hash/Hasher; .locals 3 .prologue .line 33 invoke-static {p1, p2}, Ljava/lang/Double;->doubleToRawLongBits(D)J move-result-wide v0 invoke-virtual {p0, v0, v1}, Lcom/google/common/hash/AbstractHasher;->putLong(J)Lcom/google/common/hash/Hasher; move-result-object v0 return-object v0 .end method .method public bridge synthetic putDouble(D)Lcom/google/common/hash/PrimitiveSink; .locals 1 .prologue .line 27 invoke-virtual {p0, p1, p2}, Lcom/google/common/hash/AbstractHasher;->putDouble(D)Lcom/google/common/hash/Hasher; move-result-object v0 return-object v0 .end method .method public final putFloat(F)Lcom/google/common/hash/Hasher; .locals 1 .prologue .line 37 invoke-static {p1}, Ljava/lang/Float;->floatToRawIntBits(F)I move-result v0 invoke-virtual {p0, v0}, Lcom/google/common/hash/AbstractHasher;->putInt(I)Lcom/google/common/hash/Hasher; move-result-object v0 return-object v0 .end method .method public bridge synthetic putFloat(F)Lcom/google/common/hash/PrimitiveSink; .locals 1 .prologue .line 27 invoke-virtual {p0, p1}, Lcom/google/common/hash/AbstractHasher;->putFloat(F)Lcom/google/common/hash/Hasher; move-result-object v0 return-object v0 .end method .method public putString(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lcom/google/common/hash/Hasher; .locals 2 .prologue .line 49 :try_start_0 invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String; move-result-object v0 invoke-virtual {p2}, Ljava/nio/charset/Charset;->name()Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B move-result-object v0 invoke-virtual {p0, v0}, Lcom/google/common/hash/AbstractHasher;->putBytes([B)Lcom/google/common/hash/Hasher; :try_end_0 .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0 move-result-object v0 return-object v0 .line 50 :catch_0 move-exception v0 .line 51 new-instance v1, Ljava/lang/AssertionError; invoke-direct {v1, v0}, Ljava/lang/AssertionError;->(Ljava/lang/Object;)V throw v1 .end method .method public bridge synthetic putString(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lcom/google/common/hash/PrimitiveSink; .locals 1 .prologue .line 27 invoke-virtual {p0, p1, p2}, Lcom/google/common/hash/AbstractHasher;->putString(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lcom/google/common/hash/Hasher; move-result-object v0 return-object v0 .end method .method public putUnencodedChars(Ljava/lang/CharSequence;)Lcom/google/common/hash/Hasher; .locals 3 .prologue .line 41 const/4 v0, 0x0 invoke-interface {p1}, Ljava/lang/CharSequence;->length()I move-result v1 :goto_0 if-ge v0, v1, :cond_0 .line 42 invoke-interface {p1, v0}, Ljava/lang/CharSequence;->charAt(I)C move-result v2 invoke-virtual {p0, v2}, Lcom/google/common/hash/AbstractHasher;->putChar(C)Lcom/google/common/hash/Hasher; .line 41 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 44 :cond_0 return-object p0 .end method .method public bridge synthetic putUnencodedChars(Ljava/lang/CharSequence;)Lcom/google/common/hash/PrimitiveSink; .locals 1 .prologue .line 27 invoke-virtual {p0, p1}, Lcom/google/common/hash/AbstractHasher;->putUnencodedChars(Ljava/lang/CharSequence;)Lcom/google/common/hash/Hasher; move-result-object v0 return-object v0 .end method