com.bea.wlpi.client.common
Class GUID
java.lang.Object
|
+--com.bea.wlpi.client.common.GUID
- public class GUID
- extends java.lang.Object
A utility class for generating global unique ID. The ID is combined
by ip address and time.
- Author:
- Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.
Field Summary
|
java.lang.String |
guid
|
Constructor Summary
|
GUID()
Generate a new instance of GUID. |
Method Summary
|
boolean |
equals(java.lang.Object obj)
Compare with another instance of GUID. |
int |
hashCode()
Get the hash code of the instance of GUID. |
java.lang.String |
toString()
Get the string value of the instance of GUID. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
guid
public java.lang.String guid
GUID
public GUID()
- Generate a new instance of GUID.
toString
public java.lang.String toString()
- Get the string value of the instance of GUID.
- Returns:
- the string value of GUID.
- Overrides:
- toString in class java.lang.Object
hashCode
public int hashCode()
- Get the hash code of the instance of GUID.
- Returns:
- the hash code integer value.
- Overrides:
- hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Compare with another instance of GUID.
- Returns:
- true if they are equals.
- Overrides:
- equals in class java.lang.Object
WebLogic Integration (WLI)