edu.ucsb.cs.jicos.services
Class ResultId

java.lang.Object
  extended by edu.ucsb.cs.jicos.services.ResultId
All Implemented Interfaces:
java.io.Serializable

public class ResultId
extends java.lang.Object
implements java.io.Serializable

A object that functions as an identifier for a particular computation: Every computation initiated by either a Hsp compute method or Hsp setComputation method has a unique ResultId associated with it.

Author:
Peter Cappello
See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object resultId)
          Used so that ResultId objects can be the key in utility data structures, such as HashMap.
 int hashCode()
          Used so that ResultId objects can be the key in utility data structures, such as HashMap.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object resultId)
Used so that ResultId objects can be the key in utility data structures, such as HashMap.

Overrides:
equals in class java.lang.Object
Parameters:
resultId - The ResultId object to be compared for equality.
Returns:
true if and only if the argument is deemed equal.

hashCode

public int hashCode()
Used so that ResultId objects can be the key in utility data structures, such as HashMap.

Overrides:
hashCode in class java.lang.Object
Returns:
An int that is used by Hash utility data structures.


Jicos: http://cs.ucsb.edu/projects/jicos