| Package | Description |
|---|---|
| org.cthul.fixsure.factory |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DefaultFactory.VM |
| Modifier and Type | Method and Description |
|---|---|
T |
ValueGenerator.next(ValueGenerator.ValueMap valueMap) |
T |
ValueGenerator.G2VG.next(ValueGenerator.ValueMap valueMap) |
protected V |
DefaultFactory.next(ValueGenerator.ValueMap valueMap) |
default T |
ValueGenerator.next(ValueGenerator.ValueMap valueMap,
Function<ValueGenerator.ValueMap,ValueGenerator.ValueMap> transform)
If the value generator chooses to ignore the provided
valueMap,
it should pass its own value map to transform. |
static <T> FlGenerator<T> |
ValueGenerator.toGenerator(ValueGenerator<T> generator,
ValueGenerator.ValueMap valueMap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultFactory.addStep(BiFunction<? super V,? super ValueGenerator.ValueMap,? extends V> step) |
This |
FactoriesSetup.BuilderSetupBase.applyValues(BiFunction<? super B,? super ValueGenerator.ValueMap,? extends B> function)
Applies values and replaces the object under construction with the
function result.
|
default FactoriesSetup.BuilderSetup<B,R> |
FactoriesSetup.BuilderValueSetup.applyValues(BiFunction<? super B,? super ValueGenerator.ValueMap,? extends B> function) |
default FactoriesSetup.FactorySetup<R> |
FactoriesSetup.NewFactory.applyValues(BiFunction<? super R,? super ValueGenerator.ValueMap,? extends R> function) |
default FactoriesSetup.FactorySetup<R> |
FactoriesSetup.FactoryValueSetup.applyValues(BiFunction<? super R,? super ValueGenerator.ValueMap,? extends R> function) |
FactoriesSetup.FactorySetup<V> |
DefaultFactory.Setup.applyValues(BiFunction<? super V,? super ValueGenerator.ValueMap,? extends V> function) |
FactoriesSetup.FactorySetup<R> |
FactoriesSetup.BuilderSetup.build(BiFunction<? super B,? super ValueGenerator.ValueMap,? extends R> buildFunction)
Creates the actual object.
|
default FactoriesSetup.FactorySetup<R> |
FactoriesSetup.BuilderValueSetup.build(BiFunction<? super B,? super ValueGenerator.ValueMap,? extends R> buildFunction) |
default FactoriesSetup.FactorySetup<R> |
FactoriesSetup.NewBuilder.build(Function<? super ValueGenerator.ValueMap,? extends R> builder)
The factory will obtain new instances from the function.
|
FactoriesSetup.FactorySetup<R> |
DefaultNewFactory.build(Function<? super ValueGenerator.ValueMap,? extends R> builder) |
<B> FactoriesSetup.BuilderSetup<B,R> |
FactoriesSetup.NewBuilder.builder(Function<? super ValueGenerator.ValueMap,? extends B> newBuilder)
The factory will obtain builder instances from the factory
|
<B> FactoriesSetup.BuilderSetup<B,R> |
DefaultNewFactory.builder(Function<? super ValueGenerator.ValueMap,? extends B> newBuilder) |
static <T> ValueSource<T> |
ValueSource.fromFunction(Function<? super ValueGenerator.ValueMap,? extends T> function) |
static <T> ValueGenerator.Src<T> |
ValueGenerator.fromFunction(Function<? super ValueGenerator.ValueMap,? extends T> function) |
default T |
ValueGenerator.next(ValueGenerator.ValueMap valueMap,
Function<ValueGenerator.ValueMap,ValueGenerator.ValueMap> transform)
If the value generator chooses to ignore the provided
valueMap,
it should pass its own value map to transform. |
default T |
ValueGenerator.next(ValueGenerator.ValueMap valueMap,
Function<ValueGenerator.ValueMap,ValueGenerator.ValueMap> transform)
If the value generator chooses to ignore the provided
valueMap,
it should pass its own value map to transform. |
default This |
FactoriesSetup.BuilderSetupBase.then(BiConsumer<? super B,? super ValueGenerator.ValueMap> action)
Passes the constructed object and the value map to a consumer.
|
default This |
FactoriesSetup.BuilderSetupBase.thenApply(BiFunction<? super B,? super ValueGenerator.ValueMap,? extends B> action)
Replaces the object under construction with the function result.
|
default BuilderSetup |
FactoriesSetup.ValueDeclaration.to(Function<? super ValueGenerator.ValueMap,? extends T> valueFunction)
Use the function to obtain the value.
|
| Constructor and Description |
|---|
VG2G(ValueGenerator<T> gen,
ValueGenerator.ValueMap vm) |
Copyright © 2019. All rights reserved.