Package com.io7m.jregions.generators
Class PVolumeIGenerator<S>
java.lang.Object
com.io7m.jregions.generators.PVolumeIGenerator<S>
- Type Parameters:
S
- A phantom type parameter indicating the coordinate space of the volume
- All Implemented Interfaces:
net.java.quickcheck.Generator<PVolumeI<S>>
public final class PVolumeIGenerator<S>
extends Object
implements net.java.quickcheck.Generator<PVolumeI<S>>
A generator for volumes.
-
Constructor Summary
ConstructorDescriptionPVolumeIGenerator
(net.java.quickcheck.Generator<Integer> in_gen) Create a new generator. -
Method Summary
-
Constructor Details
-
PVolumeIGenerator
Create a new generator.- Parameters:
in_gen
- A number generator
-
-
Method Details
-
create
- Type Parameters:
S
- A phantom type parameter indicating the coordinate space of the volume- Returns:
- A generator initialized with useful defaults
-
next
- Specified by:
next
in interfacenet.java.quickcheck.Generator<S>
-