Package com.io7m.jregions.generators

# Class PAreaSizeDGenerator<S>

java.lang.Object
com.io7m.jregions.generators.PAreaSizeDGenerator<S>

Type Parameters:
  `S` - A phantom type parameter indicating the coordinate space of the area

All Implemented Interfaces:
  `net.java.quickcheck.Generator<PAreaSizeD<S>>`

    public final class PAreaSizeDGenerator<S>
    extends java.lang.Object
    implements net.java.quickcheck.Generator<PAreaSizeD<S>>

A generator for area sizes.

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `PAreaSizeDGenerator​(net.java.quickcheck.generator.support.DoubleGenerator in_gen)` | Create a new generator.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `static <S> PAreaSizeDGenerator<S>` | `create()` |
  `PAreaSizeD<S>` | `next()` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PAreaSizeDGenerator

    public PAreaSizeDGenerator​(net.java.quickcheck.generator.support.DoubleGenerator in_gen)
    Create a new generator.
    Parameters:
      `in_gen` - A number generator

- ## Method Details

  - ### create

    public static <S> PAreaSizeDGenerator<S> create()
    Type Parameters:
      `S` - A phantom type parameter indicating the coordinate space of the area
    Returns:
      A generator initialized with useful defaults

  - ### next

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