The generator is thread safe!
| Modifier and Type | Field and Description |
|---|---|
| private static final NumberFormat | |
| private static int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized String |
| ID_FORMAT | back to summary |
|---|---|
| private static final NumberFormat ID_FORMAT | |
| idCounter | back to summary |
|---|---|
| private static int idCounter | |
| IdGenerator | back to summary |
|---|---|
| private IdGenerator() | |
| next | back to summary |
|---|---|
| public static synchronized String next() | |