A C D E F G H I L M N O P R S T U 
All Classes All Packages

A

AlphabetCounter - Class in org.refcodes.generator
The AlphabetCounter 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".
AlphabetCounter(char[]) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(char[], int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(char[], int, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(char[], String) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(char[], String, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(char[], String, int, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(String) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(String, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(String, int, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(String, String) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(String, String, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(String, String, int, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(Collection<Character>) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(Collection<Character>, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(Collection<Character>, int, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(Collection<Character>, String) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(Collection<Character>, String, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(Collection<Character>, String, int, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(CharSet) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(CharSet, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(CharSet, int, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(CharSet, String) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(CharSet, String, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.
AlphabetCounter(CharSet, String, int, int) - Constructor for class org.refcodes.generator.AlphabetCounter
Constructs an AlphabetCounter using the given Alphabet.

C

clear() - Method in class org.refcodes.generator.SeriesMonitorDecorator
Clears the list of unprocessed IDs.

D

DEFAULT_BUFFER_SIZE - Static variable in class org.refcodes.generator.ThreadBufferedGeneratorDecorator
 

E

enableBufferRefill() - Method in class org.refcodes.generator.ThreadBufferedGeneratorDecorator
Enables or resumes the creation of new(!)

F

forEachRemaining(Consumer<? super T>) - Method in class org.refcodes.generator.SeriesMonitorDecorator

G

Generator<T> - Interface in org.refcodes.generator
A Generator generates objects of a dedicated type in mass production.
getAlphabet() - Method in class org.refcodes.generator.AlphabetCounter
Returns the alphabet used by this counter.
getDecoratee() - Method in class org.refcodes.generator.ThreadBufferedGeneratorDecorator
getInstance() - Static method in class org.refcodes.generator.UniqueIdGeneratorSingleton

H

hasNext() - Method in class org.refcodes.generator.AlphabetCounter
Tests whether the Generator is capable of generating a Generator.next() item.
hasNext() - Method in interface org.refcodes.generator.Generator
Tests whether the Generator is capable of generating a Generator.next() item.
hasNext() - Method in class org.refcodes.generator.SeriesMonitorDecorator
Tests whether the Generator is capable of generating a Generator.next() item.
hasNext() - Method in class org.refcodes.generator.ThreadBufferedGeneratorDecorator
Tests whether the Generator is capable of generating a Generator.next() item.
hasNext() - Method in class org.refcodes.generator.UniqueIdGenerator
Tests whether the Generator is capable of generating a Generator.next() item.

I

IdGenerator - Interface in org.refcodes.generator
The IdGenerator interface defines generator functionality for String instances.
initSeed() - Static method in class org.refcodes.generator.UniqueIdGenerator
This method initializes the TID generator, it is invoked upon loading the utility class by the class loader (static block), though it may be called manually in case of TID collisions.

L

lastProcessed() - Method in interface org.refcodes.generator.SeriesMonitor
Returns the last ID of fully processed IDs in the series of generated IDs.
lastProcessed() - Method in class org.refcodes.generator.SeriesMonitorDecorator
Returns the last ID of fully processed IDs in the series of generated IDs.

M

markAsProcessed(T) - Method in interface org.refcodes.generator.SeriesMonitor
Marks a ID previously generated using Generator.next() as being processed, the last ID of fully processed IDs in the series of generated IDs can be identified using the SeriesMonitor.lastProcessed() method.
markAsProcessed(T) - Method in class org.refcodes.generator.SeriesMonitorDecorator
Marks a ID previously generated using Generator.next() as being processed, the last ID of fully processed IDs in the series of generated IDs can be identified using the SeriesMonitor.lastProcessed() method.

N

next() - Method in class org.refcodes.generator.AlphabetCounter
Generates a next item.
next() - Method in interface org.refcodes.generator.Generator
Generates a next item.
next() - Method in class org.refcodes.generator.SeriesMonitorDecorator
Generates a next item.
next() - Method in class org.refcodes.generator.ThreadBufferedGeneratorDecorator
Generates a next item.
next() - Method in class org.refcodes.generator.UniqueIdGenerator
Generates a next item.

O

org.refcodes.generator - module org.refcodes.generator
 
org.refcodes.generator - package org.refcodes.generator
A generator is a value provider providing one value after the other without further parameters required.

P

pauseBufferRefill() - Method in class org.refcodes.generator.ThreadBufferedGeneratorDecorator
Pauses the creation of new(!)

R

remove() - Method in class org.refcodes.generator.SeriesMonitorDecorator
remove() - Method in class org.refcodes.generator.ThreadBufferedGeneratorDecorator
remove() - Method in class org.refcodes.generator.UniqueIdGenerator

S

SeriesMonitor<T> - Interface in org.refcodes.generator
The SeriesMonitor is a Generator with means to monitor the last fully processed (completed) ID of the series of generated IDs with all preceding generated IDs also being fully processed (completed): All IDs till the last fully processed (completed) ID have been processed.
SeriesMonitorDecorator<T> - Class in org.refcodes.generator
The SeriesMonitorDecorator decorates a Generator with means to monitor the last fully processed (completed) ID of the series of generated IDs with all preceding generated IDs also being fully processed (completed): All IDs till the last fully processed (completed) ID have been processed.
SeriesMonitorDecorator(Generator<T>) - Constructor for class org.refcodes.generator.SeriesMonitorDecorator
Constructs the SeriesMonitorDecorator decorating the provided Generator.

T

ThreadBufferedGeneratorDecorator<T> - Class in org.refcodes.generator
The ThreadBufferedGeneratorDecorator decorates a Generator with read-ahead functionality by buffering generated IDs on a per Thread basis: The resulting Generator is thread safe!
ThreadBufferedGeneratorDecorator(Generator<T>) - Constructor for class org.refcodes.generator.ThreadBufferedGeneratorDecorator
Constructs the ThreadBufferedGeneratorDecorator decorating the provided Generator using the ThreadBufferedGeneratorDecorator.DEFAULT_BUFFER_SIZE for the per thread read-ahead buffer.
ThreadBufferedGeneratorDecorator(Generator<T>, int) - Constructor for class org.refcodes.generator.ThreadBufferedGeneratorDecorator
Constructs the ThreadBufferedGeneratorDecorator decorating the provided Generator.

U

UniqueIdGenerator - Class in org.refcodes.generator
The UniqueIdGenerator is an implementation of the Generator capable of generating TID String instances unique on the system on which them were generated to IDs generated with the same UniqueIdGenerator on another system.
UniqueIdGenerator() - Constructor for class org.refcodes.generator.UniqueIdGenerator
Constructs a UniqueIdGenerator with a default TID length of 36.
UniqueIdGenerator(int) - Constructor for class org.refcodes.generator.UniqueIdGenerator
Constructs a UniqueIdGenerator with the provided TID length.
UniqueIdGeneratorSingleton - Class in org.refcodes.generator
The Class UniqueIdGeneratorSingleton.
A C D E F G H I L M N O P R S T U 
All Classes All Packages