org.jbind.xml.core.base
Interface IKey

All Known Implementing Classes:
Key

public interface IKey

Key for accessing data in indices. Implementations must implement the hashCode and equals method.


Method Summary
 boolean equals(java.lang.Object anObject)
          Checks equality.
 int hashCode()
          Gets a hash code.
 

Method Detail

hashCode

public int hashCode()
Gets a hash code.

Returns:
A hash code.

equals

public boolean equals(java.lang.Object anObject)
Checks equality.

Returns:
Returns true iff this key is equal to the specified object.