Uses of Interface
org.refcodes.generator.IdGenerator
-
Uses of IdGenerator in org.refcodes.generator
Modifier and TypeInterfaceDescriptioninterface
Modifier and TypeClassDescriptionclass
TheAlphabetCounter
generates values by counting with an an alphabet of "digits", a decimal alphabet would contain the characters "0", "1", "2", "3", "4", "5", "6", "7", "8" and "9", a hexadecimal alphabet would contain the characters "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F".class
TheAlphabetCounterComposite
creates aIdCounterComposite
composed ofAlphabetCounter
instances which's alphabets are retrieved from expressions each (to be combined to a singleIdCounter
).class
TheIdCounterComposite
combines severalIdCounter
instances which to use when generating data by daisy chaining the provided generator instances (end of counter 1 increases counter 2, end of counter 2 increases counter 3, ..., end of counter n-1 increases counter n, the end of a counter is determined withAbstractCounterComposite.hasNext()
and a counter is increased byIdCounterComposite.next()
).class
TheUniqueIdGenerator
is an implementation of theGenerator
capable of generating TIDString
instances unique on the system on which them were generated to IDs generated with the sameUniqueIdGenerator
on another system.class
The Class UniqueIdGeneratorSingleton.