public class IntegerGeneratedValueProviderInternal extends IntegerInternalGenerator implements GeneratedDataValue
Modifier and Type | Class and Description |
---|---|
static class |
IntegerGeneratedValueProviderInternal.Radix |
isSequential
actualValue, max, min, step
counter, repeatValues, repetition
Constructor and Description |
---|
IntegerGeneratedValueProviderInternal(long min,
long max,
IntegerGeneratedValueProviderInternal.Radix radix,
boolean consequent,
long step) |
Modifier and Type | Method and Description |
---|---|
static GeneratorDescriptor |
getDefaultDescriptor() |
String |
getNewValue()
Call this when you want to force creation of absolutely new value (doesn't take into account provider settings
like repeat count)
|
String |
getValue()
Call this when you want to get random value which takes into consideration all provider settings
|
getNewValueInt, getNextValue
tweetNextValue
getIterationCount, getRepeatValues, setIterationCount, setRepeatValues
public IntegerGeneratedValueProviderInternal(long min, long max, IntegerGeneratedValueProviderInternal.Radix radix, boolean consequent, long step)
public static GeneratorDescriptor getDefaultDescriptor()
public String getValue()
GeneratedDataValue
getValue
in interface GeneratedDataValue
public String getNewValue()
GeneratedDataValue
getNewValue
in interface GeneratedDataValue
Copyright © 2019. All rights reserved.