.class public Lcom/example/linechartlibrary/AxisValue; .super Ljava/lang/Object; .source "AxisValue.java" # instance fields .field private label:[C .field private value:F # direct methods .method public constructor (F)V .registers 2 .line 15 invoke-direct {p0}, Ljava/lang/Object;->()V .line 16 invoke-virtual {p0, p1}, Lcom/example/linechartlibrary/AxisValue;->setValue(F)Lcom/example/linechartlibrary/AxisValue; return-void .end method .method public constructor (F[C)V .registers 3 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 20 invoke-direct {p0}, Ljava/lang/Object;->()V .line 21 iput p1, p0, Lcom/example/linechartlibrary/AxisValue;->value:F .line 22 iput-object p2, p0, Lcom/example/linechartlibrary/AxisValue;->label:[C return-void .end method .method public constructor (Lcom/example/linechartlibrary/AxisValue;)V .registers 3 .line 25 invoke-direct {p0}, Ljava/lang/Object;->()V .line 26 iget v0, p1, Lcom/example/linechartlibrary/AxisValue;->value:F iput v0, p0, Lcom/example/linechartlibrary/AxisValue;->value:F .line 27 iget-object p1, p1, Lcom/example/linechartlibrary/AxisValue;->label:[C iput-object p1, p0, Lcom/example/linechartlibrary/AxisValue;->label:[C return-void .end method # virtual methods .method public equals(Ljava/lang/Object;)Z .registers 6 const/4 v0, 0x1 if-ne p0, p1, :cond_4 return v0 :cond_4 const/4 v1, 0x0 if-eqz p1, :cond_2b .line 72 invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v2 invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v3 if-eq v2, v3, :cond_12 goto :goto_2b .line 74 :cond_12 check-cast p1, Lcom/example/linechartlibrary/AxisValue; .line 76 iget v2, p1, Lcom/example/linechartlibrary/AxisValue;->value:F iget v3, p0, Lcom/example/linechartlibrary/AxisValue;->value:F invoke-static {v2, v3}, Ljava/lang/Float;->compare(FF)I move-result v2 if-eqz v2, :cond_1f return v1 .line 77 :cond_1f iget-object v2, p0, Lcom/example/linechartlibrary/AxisValue;->label:[C iget-object p1, p1, Lcom/example/linechartlibrary/AxisValue;->label:[C invoke-static {v2, p1}, Ljava/util/Arrays;->equals([C[C)Z move-result p1 if-nez p1, :cond_2a return v1 :cond_2a return v0 :cond_2b :goto_2b return v1 .end method .method public getLabel()[C .registers 2 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 41 iget-object v0, p0, Lcom/example/linechartlibrary/AxisValue;->label:[C return-object v0 .end method .method public getLabelAsChars()[C .registers 2 .line 55 iget-object v0, p0, Lcom/example/linechartlibrary/AxisValue;->label:[C return-object v0 .end method .method public getValue()F .registers 2 .line 31 iget v0, p0, Lcom/example/linechartlibrary/AxisValue;->value:F return v0 .end method .method public hashCode()I .registers 4 .line 84 iget v0, p0, Lcom/example/linechartlibrary/AxisValue;->value:F const/4 v1, 0x0 cmpl-float v1, v0, v1 const/4 v2, 0x0 if-eqz v1, :cond_d invoke-static {v0}, Ljava/lang/Float;->floatToIntBits(F)I move-result v0 goto :goto_e :cond_d move v0, v2 :goto_e mul-int/lit8 v0, v0, 0x1f .line 85 iget-object v1, p0, Lcom/example/linechartlibrary/AxisValue;->label:[C if-eqz v1, :cond_18 invoke-static {v1}, Ljava/util/Arrays;->hashCode([C)I move-result v2 :cond_18 add-int/2addr v0, v2 return v0 .end method .method public setLabel(Ljava/lang/String;)Lcom/example/linechartlibrary/AxisValue; .registers 2 .line 50 invoke-virtual {p1}, Ljava/lang/String;->toCharArray()[C move-result-object p1 iput-object p1, p0, Lcom/example/linechartlibrary/AxisValue;->label:[C return-object p0 .end method .method public setLabel([C)Lcom/example/linechartlibrary/AxisValue; .registers 2 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 65 iput-object p1, p0, Lcom/example/linechartlibrary/AxisValue;->label:[C return-object p0 .end method .method public setValue(F)Lcom/example/linechartlibrary/AxisValue; .registers 2 .line 35 iput p1, p0, Lcom/example/linechartlibrary/AxisValue;->value:F return-object p0 .end method