|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.databene.benerator.util.AbstractGenerator<E>
org.databene.benerator.util.AbstractNonNullGenerator<E>
org.databene.benerator.util.ThreadSafeNonNullGenerator<int[]>
org.databene.benerator.primitive.IncrementalIntsGenerator
public class IncrementalIntsGenerator
Generates int arrays in the same manner in which decimal numbers are used.
It can be used to generate numbers or strings of arbitrary numerical radix.
Created: 01.08.2011 15:15:39
Field Summary |
---|
Fields inherited from class org.databene.benerator.util.AbstractGenerator |
---|
context, logger, state |
Constructor Summary | |
---|---|
IncrementalIntsGenerator(int radix,
int length)
|
Method Summary | |
---|---|
int[] |
generate()
|
java.lang.Class<int[]> |
getGeneratedType()
Declares the type of the objects returned by the generate() method. |
int |
getLength()
|
int |
getRadix()
|
void |
reset()
|
Methods inherited from class org.databene.benerator.util.ThreadSafeNonNullGenerator |
---|
isParallelizable, isThreadSafe |
Methods inherited from class org.databene.benerator.util.AbstractNonNullGenerator |
---|
generate |
Methods inherited from class org.databene.benerator.util.AbstractGenerator |
---|
assertInitialized, assertNotInitialized, close, getResultWrapper, init, toString, wasInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.databene.benerator.Generator |
---|
close, init, wasInitialized |
Constructor Detail |
---|
public IncrementalIntsGenerator(int radix, int length)
Method Detail |
---|
public int getRadix()
public int getLength()
public java.lang.Class<int[]> getGeneratedType()
Generator
public int[] generate()
generate
in interface NonNullGenerator<int[]>
generate
in class AbstractNonNullGenerator<int[]>
public void reset()
reset
in interface org.databene.commons.Resettable
reset
in class AbstractGenerator<int[]>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |