viceroy
Interface Resource

All Known Subinterfaces:
AuthorizedViceroyPeer, ViceroyPeer
All Known Implementing Classes:
LocalViceroyPeer, RemoteViceroyPeer, ResourceImp

public interface Resource

Represent a resource which can be stored and looked-up. This interface is not related to Object's hashCode method. We did not use hashcode, as hashcode returns an int and we need 128 bits.

Author:
Anat Talmy
, Oren Dobzinski

Method Summary
 HashValue hashValue()
          Calculates the hash value.
 

Method Detail

hashValue

public HashValue hashValue()
Calculates the hash value.

Returns:
a HashValue object with the hash-value.