public class IntegerInternalGenerator extends NumericBaseParrotProvider<Long> implements IntegerInternalGeneratorInterface
Modifier and Type | Field and Description |
---|---|
protected boolean |
isSequential |
actualValue, max, min, step
counter, repeatValues, repetition
Constructor and Description |
---|
IntegerInternalGenerator(long min,
long max,
boolean isSequential,
long step) |
Modifier and Type | Method and Description |
---|---|
long |
getNewValueInt()
Call this when you want to force creation of absolutely new value (doesn't take into account provider settings
like repeat count)
|
long |
getNextValue()
Call this when you want to get random value which takes into consideration all provider settings
|
tweetNextValue
getIterationCount, getRepeatValues, setIterationCount, setRepeatValues
public IntegerInternalGenerator(long min, long max, boolean isSequential, long step)
public long getNextValue()
IntegerInternalGeneratorInterface
getNextValue
in interface IntegerInternalGeneratorInterface
public long getNewValueInt()
IntegerInternalGeneratorInterface
getNewValueInt
in interface IntegerInternalGeneratorInterface
Copyright © 2019. All rights reserved.