Class AtomicIntegerGenerator
- java.lang.Object
-
- org.instancio.generator.AbstractGenerator<T>
-
- org.instancio.generator.lang.AbstractRandomNumberGeneratorSpec<AtomicInteger>
-
- org.instancio.generator.util.concurrent.atomic.AtomicIntegerGenerator
-
- All Implemented Interfaces:
Generator<AtomicInteger>
,GeneratorSpec<AtomicInteger>
,NumberGeneratorSpec<AtomicInteger>
public class AtomicIntegerGenerator extends AbstractRandomNumberGeneratorSpec<AtomicInteger> implements NumberGeneratorSpec<AtomicInteger>
-
-
Field Summary
-
Fields inherited from class org.instancio.generator.lang.AbstractRandomNumberGeneratorSpec
max, min, nullable
-
-
Constructor Summary
Constructors Constructor Description AtomicIntegerGenerator(GeneratorContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AtomicInteger
generateNonNullValue(RandomProvider random)
-
Methods inherited from class org.instancio.generator.lang.AbstractRandomNumberGeneratorSpec
generate, getHints, getMax, getMin, max, min, nullable, range
-
Methods inherited from class org.instancio.generator.AbstractGenerator
getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.instancio.Generator
apiMethodName, isDelegating, setDelegate, supports, targetClass
-
Methods inherited from interface org.instancio.generator.lang.NumberGeneratorSpec
max, min, nullable, range
-
-
-
-
Constructor Detail
-
AtomicIntegerGenerator
public AtomicIntegerGenerator(GeneratorContext context)
-
-
Method Detail
-
generateNonNullValue
protected AtomicInteger generateNonNullValue(RandomProvider random)
- Specified by:
generateNonNullValue
in classAbstractRandomNumberGeneratorSpec<AtomicInteger>
-
-