Class BooleanGenerator

All Implemented Interfaces:
TestDataGenerator<Boolean,Boolean>

public class BooleanGenerator extends AbstractGenerator<Boolean>
  • Constructor Details

    • BooleanGenerator

      public BooleanGenerator()
    • BooleanGenerator

      public BooleanGenerator(double trueFraction)
    • BooleanGenerator

      public BooleanGenerator(double trueFraction, double nullFraction)
  • Method Details

    • nextValue

      public Boolean nextValue(Random random)
    • getType

      public Class<Boolean> getType()
      Returns:
      the type of the chunk that we populate