| Modifier and Type | Method and Description |
|---|---|
default FlGenerator<T> |
Generator.fluentData()
Provides access to the fluent generator interface.
|
static <T> FlGenerator<T> |
Generator.generate(Class<T> clazz,
Supplier<T> supplier)
Converts a supplier into a typed generator.
|
static <T> FlGenerator<T> |
Generator.generate(Supplier<T> supplier)
Converts a supplier into a generator.
|
default FlGenerator<T> |
Sequence.newGenerator() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Factory<T> |
static interface |
Factory.FactoryGenerator<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultFactory<V> |
static class |
ValueGenerator.VG2G<T> |
| Modifier and Type | Method and Description |
|---|---|
<T> FlGenerator<T> |
Factories.generator(String key) |
<T> FlGenerator<T> |
DefaultFactory.VM.generator(String key) |
<T> FlGenerator<T> |
DefaultFactories.generator(String key) |
default <T> FlGenerator<T> |
Factories.generator(Typed<T> token) |
protected FlGenerator<?> |
DefaultFactories.newGenerator(String key) |
static <T> FlGenerator<T> |
ValueGenerator.toGenerator(ValueGenerator<T> generator,
ValueGenerator.ValueMap valueMap) |
| Modifier and Type | Method and Description |
|---|---|
default FlGenerator<Values<T>> |
FlGenerator.aggregate(DataSource<Integer> length) |
default FlGenerator<Values<T>> |
FlGenerator.aggregate(int length) |
default FlGenerator<T> |
FlGenerator.alternateWith(DataSource<? extends T>... more) |
default FlGenerator<T> |
FlGenerator.distinct() |
default FlGenerator<T> |
FlGenerator.filter(Predicate<? super T> predicate) |
default <R> FlGenerator<R> |
FlGenerator.flatMap(Function<? super T,? extends DataSource<R>> function) |
default FlGenerator<T> |
FlGenerator.fluentData() |
default <R> FlGenerator<R> |
BiGenerator.map(BiFunction<? super T,? super U,? extends R> function) |
default <U,R> FlGenerator<R> |
FlGenerator.map(DataSource<U> other,
BiFunction<? super T,? super U,? extends R> function) |
default <R> FlGenerator<R> |
FlGenerator.map(Function<? super T,? extends R> function) |
default FlGenerator<T> |
FlGenerator.mixWith(DataSource<? extends T>... more) |
FlGenerator<T> |
FlTemplate.newGenerator() |
default FlGenerator<T> |
FlSequence.newGenerator() |
default FlGenerator<T> |
BiGenerator.onlyFirst() |
default FlGenerator<U> |
BiGenerator.onlySecond() |
default FlGenerator<BiDataSource.Pair<T,U>> |
BiGenerator.pairs() |
default FlGenerator<T> |
FlGenerator.peek(Consumer<? super T> consumer) |
default FlGenerator<T> |
FlGenerator.shuffle() |
default FlGenerator<T> |
FlGenerator.shuffle(long seed) |
default FlGenerator<T> |
FlGenerator.then(DataSource<? extends T>... more) |
default FlGenerator<Double> |
FlDistribution.FlRandom.values() |
default FlGenerator<Double> |
FlDistribution.FlRandom.values(long seed)
Deprecated.
seed not supported, use #fluentData
|
| Modifier and Type | Method and Description |
|---|---|
default <R> R |
FlGenerator.transform(Function<? super FlGenerator<? extends T>,? extends R> function) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CopyableGenerator<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
AnonymousGenerator<T> |
class |
GeneratorWithDistribution<T>
Base class for
Generators that require an distribution. |
class |
GeneratorWithScalar<T>
A
Generator that requires a scalar value (e.g., to generate
strings with a certain length). |
| Modifier and Type | Method and Description |
|---|---|
static GeneratorTools.Consumers |
GeneratorTools.cacheConsumers(FlGenerator<?> generator) |
| Modifier and Type | Class and Description |
|---|---|
class |
DistinctGenerator<T>
Uses a HashSet to ensure values are not returned twice.
|
class |
FilteringGenerator<T>
Uses a HashSet to ensure values are not returned twice.
|
class |
FlatMappingGenerator<T> |
class |
GeneratorQueue<T>
A queue of generators that fetches a certain number of elements from
each and then uses the next.
|
class |
MappingGenerator<T> |
class |
MergingGenerator<T>
Merges multiple generators that produce sorted values into one.
|
class |
MixingGenerator<T>
Produces values from randomly selected generators.
|
class |
RandomizedSequenceGenerator<T>
Randomly selects elements from a sequence.
|
class |
RepeatingGenerator<T>
Converts a list of finite generators into an inifinte generator.
|
class |
RoundRobinGenerator<T> |
class |
ShuffledSequenceGenerator<T>
Returns the elements of a sequence in random order.
|
class |
ShufflingGenerator<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleansGenerator
Generates random booleans.
|
class |
CharactersGenerator
Generates random characters.
|
static class |
CharactersGenerator.FromString |
static class |
CharactersGenerator.InRange |
class |
DoublesGenerator
Generates random doubles in a given range.
|
class |
RandomIntegersGenerator
Generates random integers in a given range.
|
class |
StringsGenerator
Generates random strings.
|
| Modifier and Type | Method and Description |
|---|---|
FlGenerator<Integer> |
RandomIntegersGenerator.Template.newGenerator() |
| Modifier and Type | Class and Description |
|---|---|
class |
PermutationsGenerator<T> |
| Modifier and Type | Method and Description |
|---|---|
FlGenerator<T> |
ItemsSequence.FromCollection.newGenerator() |
FlGenerator<T> |
ConstantValue.newGenerator() |
Copyright © 2019. All rights reserved.