com.servingxml.io.cache
Interface Key

All Known Implementing Classes:
DefaultKey, DynamicContentKey, SystemIdKey

public interface Key

This interface defines the protocol for a key used to uniqely identify resources.


Method Summary
 boolean equals(java.lang.Object anObject)
          Compares this key to the specified object.
 int hashCode()
          Returns a hash code value for this key.
 

Method Detail

equals

boolean equals(java.lang.Object anObject)
Compares this key to the specified object.

Overrides:
equals in class java.lang.Object
Parameters:
anObject - the object being tested for equality.
Returns:
true if the two keys are equal, false otherwise.

hashCode

int hashCode()
Returns a hash code value for this key.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this key.