A C D E F G H I L M N O P R S T U
All Classes All Packages
All Classes All Packages
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
-
Retrieves the
UniqueIdGeneratorSingleton
.
H
- hasNext() - Method in class org.refcodes.generator.AlphabetCounter
-
Tests whether the
Generator
is capable of generating aGenerator.next()
item. - hasNext() - Method in interface org.refcodes.generator.Generator
-
Tests whether the
Generator
is capable of generating aGenerator.next()
item. - hasNext() - Method in class org.refcodes.generator.SeriesMonitorDecorator
-
Tests whether the
Generator
is capable of generating aGenerator.next()
item. - hasNext() - Method in class org.refcodes.generator.ThreadBufferedGeneratorDecorator
-
Tests whether the
Generator
is capable of generating aGenerator.next()
item. - hasNext() - Method in class org.refcodes.generator.UniqueIdGenerator
-
Tests whether the
Generator
is capable of generating aGenerator.next()
item.
I
- IdGenerator - Interface in org.refcodes.generator
-
The
IdGenerator
interface defines generator functionality forString
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 theSeriesMonitor.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 theSeriesMonitor.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 aGenerator
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 aGenerator
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 providedGenerator
.
T
- ThreadBufferedGeneratorDecorator<T> - Class in org.refcodes.generator
-
The
ThreadBufferedGeneratorDecorator
decorates aGenerator
with read-ahead functionality by buffering generated IDs on a perThread
basis: The resultingGenerator
is thread safe! - ThreadBufferedGeneratorDecorator(Generator<T>) - Constructor for class org.refcodes.generator.ThreadBufferedGeneratorDecorator
-
Constructs the
ThreadBufferedGeneratorDecorator
decorating the providedGenerator
using theThreadBufferedGeneratorDecorator.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 providedGenerator
.
U
- UniqueIdGenerator - Class in org.refcodes.generator
-
The
UniqueIdGenerator
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. - 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.
All Classes All Packages