T - factory typeB - builder typepublic abstract static class AbstCombFactory.Builder<T,B extends AbstCombFactory.Builder<T,B>> extends AbstRandomBasedFactory.Builder<T,B>
AbstRandomBasedFactory.Builder| Modifier and Type | Field and Description |
|---|---|
protected LongSupplier |
timeFunction
The time function.
|
random| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
protected LongSupplier |
getTimeFunction()
Get the time function.
|
B |
withClock(Clock clock)
Set the clock.
|
B |
withTimeFunction(LongSupplier timeFunction)
Set the time function.
|
build, getRandom, withFastRandom, withRandom, withRandomFunction, withSafeRandomprotected LongSupplier timeFunction
protected LongSupplier getTimeFunction()
public B withClock(Clock clock)
clock - a clockpublic B withTimeFunction(LongSupplier timeFunction)
timeFunction - a functionCopyright © 2024. All rights reserved.