Package com.globalmentor.model
Class SequentialdISupplier
java.lang.Object
com.globalmentor.model.SequentialdISupplier
Supplies sequential string identifiers via
get()
, each guaranteed to be sequentially unique. The identifiers begin with some prefix and end with a
sequential number.
This implementation makes no allowance for sequential values past the maximum unsigned value stored in a long
.
This class is thread safe.
- Author:
- Garret Wilson
-
Constructor Summary
ConstructorDescriptionConstructor with no prefix.SequentialdISupplier
(String prefix) Prefix constructor. -
Method Summary