public static class ShortSuffixCombFactory.Builder extends AbstCombFactory.Builder<ShortSuffixCombFactory,ShortSuffixCombFactory.Builder>
timeFunctionrandom| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ShortSuffixCombFactory |
build()
Finishes the factory building.
|
protected int |
getInterval()
Get the interval in milliseconds.
|
ShortSuffixCombFactory.Builder |
withInterval(int interval)
Set the interval in milliseconds.
|
getTimeFunction, withClock, withTimeFunctiongetRandom, withFastRandom, withRandom, withRandomFunction, withSafeRandomprotected int getInterval()
public ShortSuffixCombFactory.Builder withInterval(int interval)
interval - the interval in millisecondspublic ShortSuffixCombFactory build()
AbstRandomBasedFactory.Builderbuild in class AbstRandomBasedFactory.Builder<ShortSuffixCombFactory,ShortSuffixCombFactory.Builder>Copyright © 2024. All rights reserved.