public interface IdProvider
| Modifier and Type | Method and Description |
|---|---|
int |
next()
Provides another unique ID.
|
static IdProvider |
sequential()
Obtains a new ID provider that provides sequential IDs.
|
int next()
@NonNull static IdProvider sequential()