Class PVolumeLGenerator<S>

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

public final class PVolumeLGenerator<S>
extends java.lang.Object
implements net.java.quickcheck.Generator<PVolumeL<S>>
A generator for volumes.
  • Constructor Summary

    Constructors 
    Constructor Description
    PVolumeLGenerator​(net.java.quickcheck.Generator<java.lang.Long> in_gen)
    Create a new generator.
  • Method Summary

    Modifier and Type Method Description
    static <S> PVolumeLGenerator<S> create()  
    PVolumeL<S> next()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PVolumeLGenerator

      public PVolumeLGenerator​(net.java.quickcheck.Generator<java.lang.Long> in_gen)
      Create a new generator.
      Parameters:
      in_gen - A number generator
  • Method Details

    • create

      public static <S> PVolumeLGenerator<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 PVolumeL<S> next()
      Specified by:
      next in interface net.java.quickcheck.Generator<S>