.class final Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key; .super Ljava/lang/Object; .source "LruArrayPool.java" # interfaces .implements Lcom/bumptech/glide/load/engine/bitmap_recycle/Poolable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1a name = "Key" .end annotation # instance fields .field private arrayClass:Ljava/lang/Class; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Class<", "*>;" } .end annotation .end field .field private final pool:Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$KeyPool; .field size:I # direct methods .method constructor (Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$KeyPool;)V .registers 2 .line 245 invoke-direct {p0}, Ljava/lang/Object;->()V .line 246 iput-object p1, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->pool:Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$KeyPool; return-void .end method # virtual methods .method public equals(Ljava/lang/Object;)Z .registers 5 .line 256 instance-of v0, p1, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key; const/4 v1, 0x0 if-eqz v0, :cond_14 .line 257 check-cast p1, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key; .line 258 iget v0, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->size:I iget v2, p1, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->size:I if-ne v0, v2, :cond_14 iget-object v0, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->arrayClass:Ljava/lang/Class; iget-object p1, p1, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->arrayClass:Ljava/lang/Class; if-ne v0, p1, :cond_14 const/4 v1, 0x1 :cond_14 return v1 .end method .method public hashCode()I .registers 3 .line 275 iget v0, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->size:I mul-int/lit8 v0, v0, 0x1f .line 276 iget-object v1, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->arrayClass:Ljava/lang/Class; if-eqz v1, :cond_d invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I move-result v1 goto :goto_e :cond_d const/4 v1, 0x0 :goto_e add-int/2addr v0, v1 return v0 .end method .method init(ILjava/lang/Class;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Ljava/lang/Class<", "*>;)V" } .end annotation .line 250 iput p1, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->size:I .line 251 iput-object p2, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->arrayClass:Ljava/lang/Class; return-void .end method .method public offer()V .registers 2 .line 270 iget-object v0, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->pool:Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$KeyPool; invoke-virtual {v0, p0}, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$KeyPool;->offer(Lcom/bumptech/glide/load/engine/bitmap_recycle/Poolable;)V return-void .end method .method public toString()Ljava/lang/String; .registers 3 .line 265 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "Key{size=" invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V iget v1, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->size:I invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, "array=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lcom/bumptech/glide/load/engine/bitmap_recycle/LruArrayPool$Key;->arrayClass:Ljava/lang/Class; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object v0 const/16 v1, 0x7d invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)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