org.objectweb.proactive.p2p.service.util
Class UniversalUniqueID

java.lang.Object
  extended byorg.objectweb.proactive.p2p.service.util.UniversalUniqueID
All Implemented Interfaces:
java.io.Serializable

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

Author:
Alexandre di Costanzo Created on Feb 7, 2005
See Also:
Serialized Form

Constructor Summary
protected UniversalUniqueID(java.lang.String uniqueId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
static UniversalUniqueID randomUUID()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UniversalUniqueID

protected UniversalUniqueID(java.lang.String uniqueId)
Parameters:
uniqueId -
Method Detail

randomUUID

public static UniversalUniqueID randomUUID()
Returns:
an universal unique ID.

equals

public boolean equals(java.lang.Object obj)
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright ? April 2005 INRIA All Rights Reserved.