public class AnonId extends Object
This id is guaranteed to be unique on this machine.
Constructor and Description |
---|
AnonId()
Creates new AnonId.
|
AnonId(String id)
Create a new AnonId from the string argument supplied
|
Modifier and Type | Method and Description |
---|---|
static AnonId |
create() |
static AnonId |
create(String id) |
boolean |
equals(Object o)
Test whether two id's are the same
|
String |
getLabelString()
Answer the label string of this AnonId.
|
int |
hashCode()
return a hashcode for this id
|
String |
toString()
return a string representation of the id
|
public AnonId()
public AnonId(String id)
id
- A string representation of the id to be created.public static AnonId create()
public boolean equals(Object o)
public String toString()
public String getLabelString()
Licenced under the Apache License, Version 2.0