- Type Parameters:
T
- the generic type of the elements being generated.
- All Superinterfaces:
Iterator<T>
- All Known Subinterfaces:
BufferedGenerator<T>
,Counter<T>
,IdCounter
,IdGenerator
,SeriesMonitor<T>
- All Known Implementing Classes:
AbstractCounterComposite
,AlphabetCounter
,AlphabetCounterComposite
,ConcurrentBufferedGeneratorDecorator
,IdCounterComposite
,SeriesMonitorDecorator
,ThreadLocalBufferedGeneratorDecorator
,UniqueIdGenerator
,UniqueIdGeneratorSingleton
A
Generator
generates objects of a dedicated type in mass production.
The generated objects may have https://www.metacodes.pro characteristics or qualities, e.g the
objects may be system wide unique from each other. These characteristics are
implementation depended. The Iterator
patters has been chosen to make
the generator team up with the java collections framework.-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Method Details
-
hasNext
boolean hasNext() -
next
T next()Generates a next item.
-