Package org.instancio.generators
Class AtomicLongGenerator
- java.lang.Object
-
- org.instancio.generators.AbstractRandomGenerator<T>
-
- org.instancio.generators.coretypes.AbstractRandomNumberGeneratorSpec<AtomicLong>
-
- org.instancio.generators.AtomicLongGenerator
-
- All Implemented Interfaces:
Generator<AtomicLong>
,NumberGeneratorSpec<AtomicLong>
,GeneratorSpec<AtomicLong>
public class AtomicLongGenerator extends AbstractRandomNumberGeneratorSpec<AtomicLong> implements NumberGeneratorSpec<AtomicLong>
-
-
Field Summary
-
Fields inherited from class org.instancio.generators.coretypes.AbstractRandomNumberGeneratorSpec
max, min, nullable
-
-
Constructor Summary
Constructors Constructor Description AtomicLongGenerator(GeneratorContext context)
AtomicLongGenerator(GeneratorContext context, int min, int max, boolean nullable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AtomicLong
generateNonNullValue()
-
Methods inherited from class org.instancio.generators.coretypes.AbstractRandomNumberGeneratorSpec
generate, getHints, max, min, nullable
-
Methods inherited from class org.instancio.generators.AbstractRandomGenerator
getContext, random
-
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
isDelegating, setDelegate, targetType
-
Methods inherited from interface org.instancio.generators.coretypes.NumberGeneratorSpec
max, min, nullable
-
-
-
-
Constructor Detail
-
AtomicLongGenerator
public AtomicLongGenerator(GeneratorContext context)
-
AtomicLongGenerator
public AtomicLongGenerator(GeneratorContext context, int min, int max, boolean nullable)
-
-
Method Detail
-
generateNonNullValue
protected AtomicLong generateNonNullValue()
- Specified by:
generateNonNullValue
in classAbstractRandomNumberGeneratorSpec<AtomicLong>
-
-