org.soyatec.windows.azure.table
Class Guid
java.lang.Object
org.soyatec.windows.azure.table.Guid
public class Guid
- extends java.lang.Object
A GUID is a 128-bit integer (16 bytes) that can be used
across all computers and networks wherever a unique identifier is required.
Such an identifier has a very low probability of being duplicated.
Example: c9c108d3-371d-c3fa-b189-687657445da3
|
Constructor Summary |
Guid()
Default constructor. |
Guid(boolean secure)
Constructor with security option. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Guid
public Guid()
- Default constructor. With no specification of security option, this
constructor defaults to lower security, high performance.
Guid
public Guid(boolean secure)
- Constructor with security option. Setting secure true enables each random
number generated to be cryptographically strong. Secure false defaults to
the standard Random function seeded with a single cryptographically
strong random number.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getValue
public java.lang.String getValue()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object