viceroy
Class ResourceImp

java.lang.Object
  |
  +--viceroy.ResourceImp
All Implemented Interfaces:
Resource

public class ResourceImp
extends java.lang.Object
implements Resource


Field Summary
private  HashValue val
           
 
Constructor Summary
ResourceImp(HashValue _val)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 HashValue hashValue()
          calculates the hash value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

val

private HashValue val
Constructor Detail

ResourceImp

public ResourceImp(HashValue _val)
Method Detail

hashValue

public HashValue hashValue()
calculates the hash value.

Specified by:
hashValue in interface Resource
Returns:
a HashValue object with the hash-value.

equals

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object