|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.spotfire.server.util.Guid
public final class Guid
This class represents UUIDs (Univerally Unique IDentifier), also known as GUIDs (Globaly Unique IDentifier). A UUID is 128 bit long and is either guaranteed to be different from all other UUIDs/GUIDs generated until 3400 A.D., or extremely likely to be different.
| Constructor Summary | |
|---|---|
Guid(String guid)
Public constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Compares this object to another object of type Guid. |
int |
hashCode()
Returns a hashcode for this Guid. |
static Guid |
parseGuid(String guid)
Parses the guid string argument and returns a new Guid instance. |
String |
toString()
Returns a String representation of this Guid object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Guid(String guid)
guid - the guid on on a string format
IllegalArgumentException - if the guid parameter
has the wrong format| Method Detail |
|---|
public static Guid parseGuid(String guid)
guid - a string representing a guid
IllegalArgumentException - if the guid string has the wrong formatpublic boolean equals(Object object)
equals in class Objectobject - the object to be compared
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||