public class LazyUid
extends java.lang.Object
implements java.io.Serializable
value()
method.
Once initialized, the UUID value stays the same.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private java.util.concurrent.atomic.AtomicReference<java.lang.String> |
uid |
Constructor and Description |
---|
LazyUid() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
value()
Return UUID value.
|
private static final long serialVersionUID
private final java.util.concurrent.atomic.AtomicReference<java.lang.String> uid
public java.lang.String value()
null
.public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object