.class public Lcom/moji/storage/helpers/ImmutablePair; .super Ljava/lang/Object; .source "ImmutablePair.java" # interfaces .implements Ljava/io/Serializable; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Ljava/io/Serializable;" } .end annotation # static fields .field private static final serialVersionUID:J = 0x28L # instance fields .field public final element1:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TT;" } .end annotation .end field .field public final element2:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TS;" } .end annotation .end field # direct methods .method public constructor ()V .locals 1 .line 15 invoke-direct {p0}, Ljava/lang/Object;->()V const/4 v0, 0x0 .line 16 iput-object v0, p0, Lcom/moji/storage/helpers/ImmutablePair;->element1:Ljava/lang/Object; .line 17 iput-object v0, p0, Lcom/moji/storage/helpers/ImmutablePair;->element2:Ljava/lang/Object; return-void .end method .method public constructor (Ljava/lang/Object;Ljava/lang/Object;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(TT;TS;)V" } .end annotation .line 20 invoke-direct {p0}, Ljava/lang/Object;->()V .line 21 iput-object p1, p0, Lcom/moji/storage/helpers/ImmutablePair;->element1:Ljava/lang/Object; .line 22 iput-object p2, p0, Lcom/moji/storage/helpers/ImmutablePair;->element2:Ljava/lang/Object; return-void .end method # virtual methods .method public equals(Ljava/lang/Object;)Z .locals 3 .line 27 instance-of v0, p1, Lcom/moji/storage/helpers/ImmutablePair; const/4 v1, 0x0 if-nez v0, :cond_0 return v1 .line 31 :cond_0 check-cast p1, Lcom/moji/storage/helpers/ImmutablePair; iget-object v0, p1, Lcom/moji/storage/helpers/ImmutablePair;->element1:Ljava/lang/Object; .line 32 iget-object p1, p1, Lcom/moji/storage/helpers/ImmutablePair;->element2:Ljava/lang/Object; .line 34 iget-object v2, p0, Lcom/moji/storage/helpers/ImmutablePair;->element1:Ljava/lang/Object; invoke-virtual {v2, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_1 iget-object v0, p0, Lcom/moji/storage/helpers/ImmutablePair;->element2:Ljava/lang/Object; invoke-virtual {v0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result p1 if-eqz p1, :cond_1 const/4 v1, 0x1 :cond_1 return v1 .end method .method public hashCode()I .locals 2 .line 39 iget-object v0, p0, Lcom/moji/storage/helpers/ImmutablePair;->element1:Ljava/lang/Object; invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I move-result v0 iget-object v1, p0, Lcom/moji/storage/helpers/ImmutablePair;->element2:Ljava/lang/Object; invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I move-result v1 add-int/lit8 v1, v1, 0x10 shl-int/2addr v0, v1 return v0 .end method