to.etc.domui.caches.images
Class ImageKey

java.lang.Object
  extended by to.etc.domui.caches.images.ImageKey

public final class ImageKey
extends java.lang.Object

Represents the full key to some original image source. It consists of the retriever which is used to instantiate images, and the key used by that retriever to identify the instance.

Author:
Frits Jalvingh Created on Nov 30, 2009

Constructor Summary
ImageKey(IImageRetriever retriever, java.lang.String instanceKey)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getInstanceKey()
           
 IImageRetriever getRetriever()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageKey

public ImageKey(@Nonnull
                IImageRetriever retriever,
                @Nonnull
                java.lang.String instanceKey)
Method Detail

getRetriever

@Nonnull
public IImageRetriever getRetriever()

getInstanceKey

@Nonnull
public java.lang.String getInstanceKey()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object