ItemCoord.smali
.class public Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;
.super Ljava/lang/Object;
# instance fields
.field private relativePos:I
.field private section:I
# direct methods
.method constructor <init>(II)V
.registers 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->section:I
iput p2, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->relativePos:I
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.registers 4
instance-of v0, p1, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;
if-eqz v0, :cond_1f
move-object v0, p1
check-cast v0, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;
invoke-virtual {v0}, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->section()I
move-result v0
invoke-virtual {p0}, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->section()I
move-result v1
if-ne v0, v1, :cond_1f
check-cast p1, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;
invoke-virtual {p1}, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->relativePos()I
move-result v0
invoke-virtual {p0}, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->relativePos()I
move-result v1
if-ne v0, v1, :cond_1f
const/4 v0, 0x1
:goto_1e
return v0
:cond_1f
const/4 v0, 0x0
goto :goto_1e
.end method
.method public relativePos()I
.registers 2
iget v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->relativePos:I
return v0
.end method
.method public section()I
.registers 2
iget v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->section:I
return v0
.end method
.method public toString()Ljava/lang/String;
.registers 3
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget v1, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->section:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
const-string/jumbo v1, ":"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget v1, p0, Lcom/cmcm/xiaobao/phone/smarthome/widget/sectionedrecyclerview/ItemCoord;->relativePos:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method