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