org.databene.benerator.distribution.sequence
Class BitReverseSequence

java.lang.Object
  extended by org.databene.benerator.distribution.Sequence
      extended by org.databene.benerator.distribution.sequence.BitReverseSequence
All Implemented Interfaces:
Distribution

public class BitReverseSequence
extends Sequence

Sequence implementation for a distribution that creates the bit-reverses (r) of a continuous series, e.g. r(1), r(2), r(3), ...; the numbers produced by a related generator are unique as long as the generator is not reset.

Created at 23.09.2009 18:59:30

Since:
0.6.0
Author:
Volker Bergmann

Constructor Summary
BitReverseSequence()
           
 
Method Summary
<T extends java.lang.Number>
NonNullGenerator<T>
createNumberGenerator(java.lang.Class<T> numberType, T min, T max, T granularity, boolean unique)
           
 
Methods inherited from class org.databene.benerator.distribution.Sequence
applyTo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitReverseSequence

public BitReverseSequence()
Method Detail

createNumberGenerator

public <T extends java.lang.Number> NonNullGenerator<T> createNumberGenerator(java.lang.Class<T> numberType,
                                                                              T min,
                                                                              T max,
                                                                              T granularity,
                                                                              boolean unique)


Copyright © 2013. All Rights Reserved.