Class PVolumeBIGenerator<S>

java.lang.Object
com.io7m.jregions.generators.PVolumeBIGenerator<S>
Type Parameters:
S - A phantom type parameter indicating the coordinate space of the volume
All Implemented Interfaces:
net.java.quickcheck.Generator<PVolumeBI<S>>

public final class PVolumeBIGenerator<S> extends Object implements net.java.quickcheck.Generator<PVolumeBI<S>>
A generator for volumes.
  • Constructor Details

    • PVolumeBIGenerator

      public PVolumeBIGenerator(net.java.quickcheck.Generator<BigInteger> in_gen)
      Create a new generator.
      Parameters:
      in_gen - A number generator
  • Method Details

    • create

      public static <S> PVolumeBIGenerator<S> create()
      Type Parameters:
      S - A phantom type parameter indicating the coordinate space of the volume
      Returns:
      A generator initialized with useful defaults
    • next

      public PVolumeBI<S> next()
      Specified by:
      next in interface net.java.quickcheck.Generator<S>