public final class Uid extends Object
| Modifier and Type | Method and Description |
|---|---|
static Uid |
create()
Creates a new unique ID.
|
static Uid |
create(String name)
Creates a new unique ID, with a name for easier identification.
|
boolean |
equals(Object o)
Returns whether the provided object is equal to this instance.
|
int |
hashCode()
Returns a unique hash code for this instance.
|
String |
toString()
Returns a String representation of this instance.
|
public static Uid create()
public static Uid create(String name)
toString().name - Uid name, which is recommended to be unique, although not required.public boolean equals(Object o)
public int hashCode()
Copyright © 2015 Cooking Fox. All rights reserved.