Uses of Interface
org.refcodes.generator.IdCounter
-
Uses of IdCounter in org.refcodes.generator
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()
).ModifierConstructorDescriptionIdCounterComposite
(IdCounter... aCounters) Constructs aIdCounterComposite
daisy chaining the providedIdCounter
instances.